Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009102/0.0009103, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006704/0.006704, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.049/3.049, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 14.5 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3652, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00201/0.3673, allocations: 1.03 MB / 1.075 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.37, allocations: 1.607 MB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.3703, allocations: 0 / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.3705, allocations: 27.73 kB / 1.077 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3707, allocations: 47.56 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.3721, allocations: 481.4 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.3728, allocations: 0.5623 MB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.3732, allocations: 157.1 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.3735, allocations: 187.4 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.3737, allocations: 171.2 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.3738, allocations: 20 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3739, allocations: 39.98 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.374, allocations: 59.7 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.3742, allocations: 212.7 kB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.3748, allocations: 0.6229 MB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3748, allocations: 4 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3748, allocations: 0 / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3749, allocations: 0 / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001195/0.3761, allocations: 0.8585 MB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3761, allocations: 12.03 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.3762, allocations: 48.47 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.3777, allocations: 0.4958 MB / 1.081 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.3777, allocations: 24.94 kB / 1.081 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.3778, allocations: 44.36 kB / 1.081 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.3785, allocations: 333.3 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3785, allocations: 7.938 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.3786, allocations: 12 kB / 1.081 GB, free: 348 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3786, allocations: 8 kB / 1.081 GB, free: 340 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.3793, allocations: 282 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3809, allocations: 0.9275 MB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.3816, allocations: 390.6 kB / 1.083 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.3822, allocations: 297.4 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3823, allocations: 4 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/0.383, allocations: 354.8 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.383, allocations: 0 / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001685/0.3847, allocations: 0.8694 MB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.3848, allocations: 191.9 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.3852, allocations: 292.5 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.3853, allocations: 37.7 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3855, allocations: 168.8 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3856, allocations: 126.2 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.3857, allocations: 57.69 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3859, allocations: 346.8 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.3867, allocations: 300.7 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.3874, allocations: 365.8 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3887, allocations: 0.9363 MB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3887, allocations: 7.875 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001933/0.3907, allocations: 1.013 MB / 1.088 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.3909, allocations: 263.3 kB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3909, allocations: 8.219 kB / 1.088 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3909, allocations: 8 kB / 1.088 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3912, allocations: 71.89 kB / 1.088 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3912, allocations: 7.984 kB / 1.088 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008074/0.3921, allocations: 187.5 kB / 1.088 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3922, allocations: 67.92 kB / 1.088 GB, free: 8.375 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003216/0.3925, allocations: 325.3 kB / 1.089 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.3926, allocations: 39.53 kB / 1.089 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.3927, allocations: 43.48 kB / 1.089 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3927, allocations: 4 kB / 1.089 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3927, allocations: 3.938 kB / 1.089 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3927, allocations: 7.969 kB / 1.089 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.3948, allocations: 1.229 MB / 1.09 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3949, allocations: 0 / 1.09 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3951, allocations: 71.89 kB / 1.09 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3951, allocations: 0 / 1.09 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3952, allocations: 12 kB / 1.09 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3952, allocations: 3.984 kB / 1.09 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3952, allocations: 3.938 kB / 1.09 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3966, allocations: 0.7886 MB / 1.091 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.3967, allocations: 116.7 kB / 1.091 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.3967, allocations: 8 kB / 1.091 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.397, allocations: 31.97 kB / 1.091 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3971, allocations: 39.89 kB / 1.091 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.3972, allocations: 47.94 kB / 1.091 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002223/0.3974, allocations: 203.1 kB / 1.091 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3974, allocations: 0 / 1.091 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004877/0.3979, allocations: 111.8 kB / 1.091 GB, free: 5.117 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002482/0.3982, allocations: 119.2 kB / 1.091 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.4, allocations: 1.148 MB / 1.093 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4, allocations: 0 / 1.093 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.4007, allocations: 0.5208 MB / 1.093 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.4013, allocations: 80.59 kB / 1.093 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.4028, allocations: 0.922 MB / 1.094 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.4032, allocations: 0.7927 MB / 1.095 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.4034, allocations: 95.14 kB / 1.095 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.4035, allocations: 35.44 kB / 1.095 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.4035, allocations: 0 / 1.095 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of Templates: time 0.01359/0.4171, allocations: 6.097 MB / 1.101 GB, free: 11.17 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)