Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 176.9 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008242, allocations: 88.98 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.453e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6736, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.874, allocations: 138.7 MB / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.8743, allocations: 77.05 kB / 1.109 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.8874, allocations: 4.237 MB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8875, allocations: 0 / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.8875, allocations: 4 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00089/0.8884, allocations: 0.5208 MB / 1.114 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.8884, allocations: 12.03 kB / 1.114 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.8886, allocations: 19.81 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.889, allocations: 254.4 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.889, allocations: 8 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.8891, allocations: 12 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001676/0.8892, allocations: 51.98 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.8895, allocations: 121.9 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8895, allocations: 0 / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.8895, allocations: 0 / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.8895, allocations: 11.95 kB / 1.114 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.8907, allocations: 0.8648 MB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.8909, allocations: 117.1 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.891, allocations: 60.11 kB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.891, allocations: 0 / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.8913, allocations: 155.4 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.8913, allocations: 0 / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003432/0.8916, allocations: 133.3 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8918, allocations: 158.2 kB / 1.115 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.892, allocations: 170 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.892, allocations: 29.7 kB / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.8922, allocations: 136.2 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.8922, allocations: 23.81 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.8922, allocations: 4 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8924, allocations: 330.8 kB / 1.116 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8926, allocations: 75.98 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.8928, allocations: 123.7 kB / 1.116 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.8932, allocations: 105.7 kB / 1.116 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.8932, allocations: 0 / 1.116 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000651/0.8939, allocations: 269.2 kB / 1.117 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.8939, allocations: 72.95 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.894, allocations: 0 / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.894, allocations: 4 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.8942, allocations: 43.89 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8942, allocations: 11.58 kB / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.8947, allocations: 107.4 kB / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.8948, allocations: 12 kB / 1.117 GB, free: 2.766 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.8949, allocations: 120.9 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002258/0.8951, allocations: 129.6 kB / 1.117 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.8952, allocations: 15.81 kB / 1.117 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.8952, allocations: 29.58 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8952, allocations: 0 / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8953, allocations: 7.938 kB / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8953, allocations: 0 / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.8955, allocations: 218.1 kB / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.8955, allocations: 0 / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.8957, allocations: 36.03 kB / 1.117 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.8957, allocations: 4 kB / 1.117 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.8957, allocations: 8 kB / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8957, allocations: 0 / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8958, allocations: 3.984 kB / 1.117 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.896, allocations: 226.1 kB / 1.118 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.8961, allocations: 108.5 kB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.8961, allocations: 4 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.8963, allocations: 27.97 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.8964, allocations: 19.94 kB / 1.118 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.8964, allocations: 4 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001211/0.8965, allocations: 136.6 kB / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8965, allocations: 0 / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003046/0.8968, allocations: 44 kB / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007714/0.8976, allocations: 1.048 MB / 1.119 GB, free: 428 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.8981, allocations: 290.6 kB / 1.119 GB, free: 112 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8981, allocations: 0 / 1.119 GB, free: 112 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.8982, allocations: 51.94 kB / 1.119 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.8986, allocations: 38.66 kB / 1.119 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.8993, allocations: 278.2 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.8996, allocations: 0.7395 MB / 1.12 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.8998, allocations: 21.19 kB / 1.12 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.8998, allocations: 47.42 kB / 1.12 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.8999, allocations: 0 / 1.12 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.9269, allocations: 3.946 MB / 1.124 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.9273, allocations: 152.1 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.761, allocations: 0 / 1.124 GB, free: 10.85 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)