Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008144/0.0008144, allocations: 97.95 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.005966/0.005967, allocations: 168.8 kB / 16.26 MB, free: 6.66 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.161/3.161, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005614, allocations: 10.06 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4021, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00101/0.4032, allocations: 439.7 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.4057, allocations: 1.268 MB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.4059, allocations: 0 / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.406, allocations: 3.938 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.4061, allocations: 19.84 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.4071, allocations: 215.1 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000386/0.4075, allocations: 223.6 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.4077, allocations: 35.97 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.408, allocations: 91.75 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.4084, allocations: 83.77 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.4084, allocations: 8 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.4086, allocations: 27.97 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.4086, allocations: 23.92 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.4088, allocations: 105.3 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.4091, allocations: 211.5 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4091, allocations: 4 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4091, allocations: 0 / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4091, allocations: 0 / 1.077 GB, free: 4.77 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.0005665/0.4097, allocations: 450.6 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4097, allocations: 8.031 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.4098, allocations: 20.75 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.4105, allocations: 274.9 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4105, allocations: 12.38 kB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.4105, allocations: 16.38 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.4108, allocations: 126.8 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4108, allocations: 7.875 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4108, allocations: 4 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4108, allocations: 4 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/0.4109, allocations: 51.97 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.4118, allocations: 0.6611 MB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.4119, allocations: 41.2 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.4119, allocations: 17.72 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.412, allocations: 3.984 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.4122, allocations: 96.94 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4122, allocations: 0 / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002935/0.4125, allocations: 101.5 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.4126, allocations: 81.11 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4128, allocations: 176 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.4128, allocations: 29.7 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.4129, allocations: 123.8 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.4129, allocations: 11.91 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.413, allocations: 33.7 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4131, allocations: 326.8 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4133, allocations: 47.97 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.4134, allocations: 114.5 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.4136, allocations: 174.1 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4137, allocations: 0 / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004269/0.4141, allocations: 264.7 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.4142, allocations: 71.33 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4142, allocations: 0 / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4142, allocations: 4 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.431e-05/0.4142, allocations: 7.938 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4142, allocations: 0 / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.4146, allocations: 80.19 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.4146, allocations: 15.92 kB / 1.08 GB, free: 1.004 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.000132/0.4148, allocations: 146.8 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.4148, allocations: 15.84 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.4149, allocations: 12.23 kB / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4149, allocations: 4 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4149, allocations: 0 / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4149, allocations: 0 / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.4151, allocations: 205.6 kB / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4151, allocations: 3.938 kB / 1.08 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.4151, allocations: 4 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4151, allocations: 4 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4151, allocations: 4 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4151, allocations: 0 / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4151, allocations: 0 / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.4153, allocations: 118.1 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.4153, allocations: 89 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4154, allocations: 15.98 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.4154, allocations: 4 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.4154, allocations: 4 kB / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.4154, allocations: 0 / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001033/0.4156, allocations: 125 kB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4156, allocations: 0 / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000258/0.4158, allocations: 31.91 kB / 1.081 GB, free: 132 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.0001691/0.416, allocations: 107.2 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.4164, allocations: 238.8 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.4164, allocations: 4 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.4164, allocations: 19.98 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4167, allocations: 25.23 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.4172, allocations: 277.2 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4175, allocations: 0.716 MB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.311e-05/0.4176, allocations: 12.89 kB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.4176, allocations: 11.44 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4176, allocations: 0 / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.004949/0.4226, allocations: 1.759 MB / 1.084 GB, free: 12.91 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1)