Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.000841, allocations: 90.45 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.886e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1923, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/0.8532, allocations: 132 MB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.8535, allocations: 74.67 kB / 1.021 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008452/0.862, allocations: 2.653 MB / 1.024 GB, free: 252 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.862, allocations: 0 / 1.024 GB, free: 252 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.862, allocations: 4 kB / 1.024 GB, free: 248 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001045/0.8631, allocations: 0.5263 MB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8632, allocations: 8.031 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.156e-05/0.8632, allocations: 61.53 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.8633, allocations: 23.72 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.8637, allocations: 245.4 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.8637, allocations: 15.88 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.8638, allocations: 18.44 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.8641, allocations: 210.8 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8642, allocations: 0 / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.8642, allocations: 18.72 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.8642, allocations: 4 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.8645, allocations: 162.1 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.8659, allocations: 0.6909 MB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.8662, allocations: 187.5 kB / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.8664, allocations: 115.6 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.8665, allocations: 7.938 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.8668, allocations: 214.2 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 1.933e-06/0.8669, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.000682/0.8675, allocations: 329.3 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.8676, allocations: 62.64 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.8678, allocations: 170.4 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.8678, allocations: 29.27 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.8679, allocations: 132.1 kB / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.868, allocations: 69.72 kB / 1.027 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.868, allocations: 7.188 kB / 1.027 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8681, allocations: 336.1 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.8683, allocations: 101 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.8685, allocations: 101.8 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.8687, allocations: 96.83 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8687, allocations: 0 / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004383/0.8691, allocations: 274.8 kB / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.8691, allocations: 4 kB / 1.028 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8692, allocations: 4 kB / 1.028 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8692, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.8697, allocations: 95.36 kB / 1.028 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.8697, allocations: 4 kB / 1.028 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.8701, allocations: 75.56 kB / 1.028 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.8701, allocations: 11.19 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001444/0.8702, allocations: 137.6 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.8703, allocations: 19.81 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.8704, allocations: 25.48 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.8704, allocations: 8 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8704, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.8704, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.8713, allocations: 0.6807 MB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8713, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.8716, allocations: 70.81 kB / 1.029 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.8716, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.8717, allocations: 11.86 kB / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8717, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8717, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.8722, allocations: 423.5 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8723, allocations: 100.8 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.8724, allocations: 11.25 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.8727, allocations: 54.56 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8728, allocations: 49.59 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.8729, allocations: 15.23 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.918e-05/0.873, allocations: 130.6 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.276e-06/0.873, allocations: 4 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002928/0.8733, allocations: 61.72 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0009641/0.8743, allocations: 0.9748 MB / 1.03 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.8748, allocations: 260.7 kB / 1.031 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8748, allocations: 0 / 1.031 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.875, allocations: 145.5 kB / 1.031 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.8753, allocations: 27.03 kB / 1.031 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.8762, allocations: 392.1 kB / 1.031 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.8765, allocations: 0.7433 MB / 1.032 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.8767, allocations: 34.06 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.8768, allocations: 62.53 kB / 1.032 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.8768, allocations: 0 / 1.032 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.8974, allocations: 4.738 MB / 1.037 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.8977, allocations: 170.1 kB / 1.037 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.592, allocations: 0 / 1.037 GB, free: 3.57 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)