Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.009918/0.009918, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.615/1.615, 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.016/3.016, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003266, allocations: 14.14 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3693, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009534/0.3703, allocations: 443.6 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3721, allocations: 1.26 MB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.3722, allocations: 4 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.957e-05/0.3723, allocations: 11.88 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.3724, allocations: 7.922 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.3732, allocations: 218.6 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3735, allocations: 223.6 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3736, allocations: 27.98 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3738, allocations: 99.73 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.374, allocations: 83.77 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.3741, allocations: 8 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.3742, allocations: 27.92 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.3742, allocations: 31.91 kB / 1.077 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3744, allocations: 97.34 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3746, allocations: 211.6 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3746, allocations: 0 / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3746, allocations: 0 / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3746, allocations: 0 / 1.077 GB, free: 4.789 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005171/0.3751, allocations: 451.9 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3752, allocations: 12.03 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.3753, allocations: 20.75 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.3759, allocations: 272 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3759, allocations: 8.375 kB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.376, allocations: 20.38 kB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.3762, allocations: 129.6 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3762, allocations: 7.938 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3763, allocations: 0 / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3763, allocations: 4 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.3764, allocations: 47.91 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.377, allocations: 0.6612 MB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.3771, allocations: 45.14 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.3772, allocations: 13.78 kB / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.3772, allocations: 0 / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.3774, allocations: 96.94 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3774, allocations: 0 / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002435/0.3776, allocations: 101.5 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3777, allocations: 81.11 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3779, allocations: 175.3 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.3779, allocations: 33.7 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.378, allocations: 123.8 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.378, allocations: 11.89 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.3781, allocations: 33.7 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3782, allocations: 318.8 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3783, allocations: 51.97 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3785, allocations: 110.8 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3787, allocations: 174.5 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3787, allocations: 4 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004178/0.3791, allocations: 272.6 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.3792, allocations: 67.39 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3792, allocations: 0 / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3792, allocations: 4 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.3793, allocations: 96 / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3793, allocations: 7.938 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.3796, allocations: 80.09 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.3797, allocations: 15.98 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001249/0.3798, allocations: 141.7 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3798, allocations: 11.84 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.3799, allocations: 16.23 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3799, allocations: 4 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3799, allocations: 0 / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3799, allocations: 0 / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.3801, allocations: 197.6 kB / 1.08 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3801, allocations: 15.94 kB / 1.08 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.3801, allocations: 4 kB / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3801, allocations: 0 / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3801, allocations: 4 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3801, allocations: 0 / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3801, allocations: 0 / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3803, allocations: 113.7 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3804, allocations: 92.95 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3804, allocations: 8 kB / 1.081 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.3804, allocations: 3.984 kB / 1.081 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3804, allocations: 4 kB / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3804, allocations: 0 / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.064e-05/0.3805, allocations: 121.4 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3805, allocations: 0 / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000253/0.3808, allocations: 35.89 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001935/0.381, allocations: 115.2 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.3814, allocations: 234.6 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3814, allocations: 0 / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.3815, allocations: 23.98 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.3818, allocations: 25.81 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.3824, allocations: 277.3 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3829, allocations: 0.72 MB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.078e-05/0.383, allocations: 4.891 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.383, allocations: 15.44 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.383, allocations: 0 / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.006467/0.3895, allocations: 1.758 MB / 1.084 GB, free: 12.93 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1)