Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001243/0.001243, allocations: 183.8 kB / 371.6 MB, free: 3.387 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.467/1.467, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0008102/0.0008098, allocations: 89.5 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.895e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2798, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9391/1.219, allocations: 139.6 MB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.219, allocations: 78.95 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01282/1.232, allocations: 4.818 MB / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.034e-06/1.232, allocations: 0 / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.232, allocations: 7.938 kB / 1.121 GB, free: 41.41 MB / 0.7448 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.0007821/1.233, allocations: 0.5741 MB / 1.122 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.233, allocations: 12.03 kB / 1.122 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.258e-05/1.233, allocations: 32.77 kB / 1.122 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/1.234, allocations: 276.7 kB / 1.122 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/1.234, allocations: 23.45 kB / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/1.234, allocations: 34.77 kB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/1.234, allocations: 198.2 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.234, allocations: 4 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/1.234, allocations: 10.58 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/1.234, allocations: 5.453 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/1.234, allocations: 157.7 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.235, allocations: 0.763 MB / 1.123 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/1.236, allocations: 167.4 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.236, allocations: 117.2 kB / 1.123 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/1.236, allocations: 192 / 1.123 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/1.236, allocations: 226.2 kB / 1.123 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/1.236, allocations: 0 / 1.123 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0005238/1.237, allocations: 339 kB / 1.124 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/1.237, allocations: 55.41 kB / 1.124 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.237, allocations: 197 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/1.237, allocations: 36.95 kB / 1.124 GB, free: 39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/1.237, allocations: 136.3 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/1.237, allocations: 76.3 kB / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/1.237, allocations: 10.44 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.22e-05/1.237, allocations: 336 kB / 1.125 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/1.237, allocations: 138.5 kB / 1.125 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/1.238, allocations: 196.4 kB / 1.125 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/1.238, allocations: 197.9 kB / 1.125 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.238, allocations: 0 / 1.125 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006418/1.239, allocations: 450.1 kB / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/1.239, allocations: 73 kB / 1.126 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.239, allocations: 4 kB / 1.126 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.239, allocations: 0 / 1.126 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/1.239, allocations: 66.09 kB / 1.126 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.239, allocations: 8.484 kB / 1.126 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/1.24, allocations: 105.7 kB / 1.126 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/1.24, allocations: 22.84 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$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 (31): * Single equations (assignments): 29 * 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.0001143/1.24, allocations: 137.7 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/1.24, allocations: 23.72 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/1.24, allocations: 32.58 kB / 1.126 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.24, allocations: 4 kB / 1.126 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.24, allocations: 0 / 1.126 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.24, allocations: 3.469 kB / 1.126 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007113/1.241, allocations: 0.7142 MB / 1.127 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.241, allocations: 4.688 kB / 1.127 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.241, allocations: 49.45 kB / 1.127 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.241, allocations: 0.6562 kB / 1.127 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.241, allocations: 11.25 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.241, allocations: 4.172 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.241, allocations: 0 / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/1.241, allocations: 429.4 kB / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/1.241, allocations: 105 kB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/1.241, allocations: 7.875 kB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.242, allocations: 34.33 kB / 1.127 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/1.242, allocations: 25.17 kB / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.242, allocations: 12.94 kB / 1.127 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001008/1.242, allocations: 155.3 kB / 1.127 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.242, allocations: 0 / 1.127 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003172/1.242, allocations: 78.55 kB / 1.128 GB, free: 36.17 MB / 0.7448 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.00019/1.242, allocations: 122.4 kB / 1.128 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005718/1.243, allocations: 473.7 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.243, allocations: 1.281 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/1.243, allocations: 139.5 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/1.244, allocations: 41.08 kB / 1.128 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/1.244, allocations: 363.8 kB / 1.129 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/1.244, allocations: 0.7559 MB / 1.129 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001198/1.244, allocations: 40.22 kB / 1.129 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/1.245, allocations: 23.38 kB / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.245, allocations: 0 / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.006477/1.251, allocations: 3.766 MB / 1.133 GB, free: 32.5 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)