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.715/1.715, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001363/0.001363, allocations: 195.7 kB / 376.9 MB, free: 1.809 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.907/1.907, allocations: 205 MB / 0.6354 GB, free: 9.801 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.001398/0.001398, allocations: 101.5 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 47.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4323, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004041/0.4364, allocations: 1.117 MB / 0.9833 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.4397, allocations: 1.367 MB / 0.9847 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.44, allocations: 0 / 0.9847 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.4402, allocations: 15.88 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.4406, allocations: 31.72 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.4418, allocations: 243.6 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.4426, allocations: 363.2 kB / 0.9853 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.4429, allocations: 71.25 kB / 0.9854 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.4433, allocations: 131.6 kB / 0.9855 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.4438, allocations: 143.5 kB / 0.9856 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.4439, allocations: 20 kB / 0.9856 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.4441, allocations: 35.98 kB / 0.9857 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.4443, allocations: 59.75 kB / 0.9857 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.4446, allocations: 135.3 kB / 0.9859 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006815/0.4453, allocations: 403 kB / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.4454, allocations: 0 / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4454, allocations: 0 / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.4454, allocations: 0 / 0.9862 GB, free: 6.254 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001916/0.4473, allocations: 0.6348 MB / 0.9869 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.4474, allocations: 12.03 kB / 0.9869 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.4476, allocations: 28.66 kB / 0.9869 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.4483, allocations: 279.7 kB / 0.9872 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.4483, allocations: 16.38 kB / 0.9872 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.4484, allocations: 28.36 kB / 0.9872 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.4491, allocations: 245.5 kB / 0.9874 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4492, allocations: 4.188 kB / 0.9874 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.4492, allocations: 15.92 kB / 0.9875 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4492, allocations: 7.938 kB / 0.9875 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.45, allocations: 227.8 kB / 0.9877 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.4518, allocations: 0.7573 MB / 0.9884 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.4524, allocations: 218.4 kB / 0.9886 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.4528, allocations: 149.1 kB / 0.9888 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4529, allocations: 7.938 kB / 0.9888 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.4535, allocations: 249 kB / 0.989 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 3.767e-06/0.4535, allocations: 0 / 0.989 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.001605/0.4551, allocations: 0.5497 MB / 0.9896 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.4552, allocations: 63.39 kB / 0.9896 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.4555, allocations: 220.1 kB / 0.9898 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.4556, allocations: 33.7 kB / 0.9899 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4558, allocations: 140.5 kB / 0.99 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/0.4558, allocations: 71.11 kB / 0.9901 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.4561, allocations: 81.67 kB / 0.9901 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.4563, allocations: 334.8 kB / 0.9905 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.4568, allocations: 175.9 kB / 0.9906 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.4574, allocations: 236.1 kB / 0.9909 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.4583, allocations: 387.3 kB / 0.9912 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.4583, allocations: 3.938 kB / 0.9912 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00131/0.4596, allocations: 0.5398 MB / 0.9918 GB, free: 312 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.81e-05/0.4597, allocations: 67.39 kB / 0.9918 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4597, allocations: 0 / 0.9918 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/0.4598, allocations: 7.984 kB / 0.9918 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.4601, allocations: 59.89 kB / 0.9919 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4601, allocations: 0 / 0.9919 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.4607, allocations: 91.69 kB / 0.992 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.4608, allocations: 19.98 kB / 0.992 GB, free: 52 kB / 0.7136 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,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.461, allocations: 163.4 kB / 0.9921 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.4611, allocations: 27.72 kB / 0.9922 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.4612, allocations: 22.56 kB / 0.9922 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4612, allocations: 7.984 kB / 0.9922 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4612, allocations: 0 / 0.9922 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4612, allocations: 0 / 0.9922 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4627, allocations: 0.7869 MB / 0.993 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4627, allocations: 0 / 0.993 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.4629, allocations: 35.95 kB / 0.993 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.463, allocations: 0 / 0.993 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.463, allocations: 11.98 kB / 0.993 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.463, allocations: 0 / 0.993 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.463, allocations: 0 / 0.993 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.4649, allocations: 1.268 MB / 0.9943 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.465, allocations: 92.83 kB / 0.9943 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.4651, allocations: 23.92 kB / 0.9944 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.4653, allocations: 19.97 kB / 0.9944 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4655, allocations: 27.97 kB / 0.9944 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.4655, allocations: 11.98 kB / 0.9944 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000159/0.4657, allocations: 161.5 kB / 0.9946 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4657, allocations: 3.938 kB / 0.9946 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005204/0.4662, allocations: 71.92 kB / 0.9946 GB, free: 13.19 MB / 0.7292 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.4665, allocations: 123.8 kB / 0.9948 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.4677, allocations: 0.5299 MB / 0.9953 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4677, allocations: 4.062 kB / 0.9953 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.4682, allocations: 183.8 kB / 0.9955 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.4687, allocations: 48.39 kB / 0.9955 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.4701, allocations: 0.7278 MB / 0.9962 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4706, allocations: 0.7719 MB / 0.997 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.4708, allocations: 33.94 kB / 0.997 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.4709, allocations: 19.44 kB / 0.997 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.4709, allocations: 0 / 0.997 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.01046/0.4813, allocations: 4.097 MB / 1.001 GB, free: 6.594 MB / 0.7292 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)