Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4857/0.4857, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 348.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 96.03 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.875e-05, allocations: 0 / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3651, allocations: 72.31 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.4966, allocations: 102 MB / 0.6599 GB, free: 2.277 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.4968, allocations: 69 kB / 0.66 GB, free: 2.211 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003398/0.5002, allocations: 1.233 MB / 0.6612 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5002, allocations: 0 / 0.6612 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.5003, allocations: 0 / 0.6612 GB, free: 0.9844 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005215/0.5008, allocations: 384.1 kB / 0.6616 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5008, allocations: 11.98 kB / 0.6616 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.5009, allocations: 38.5 kB / 0.6616 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.5009, allocations: 7.859 kB / 0.6616 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.5011, allocations: 175.1 kB / 0.6618 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.5011, allocations: 4 kB / 0.6618 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.5011, allocations: 0 / 0.6618 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.5013, allocations: 54.8 kB / 0.6618 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5013, allocations: 3.984 kB / 0.6618 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.5013, allocations: 4 kB / 0.6618 GB, free: 216 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5013, allocations: 3.953 kB / 0.6619 GB, free: 212 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.5014, allocations: 16 kB / 0.6619 GB, free: 196 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.5018, allocations: 272.8 kB / 0.6621 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.5019, allocations: 38.56 kB / 0.6622 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.5019, allocations: 20.98 kB / 0.6622 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.502, allocations: 0 / 0.6622 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.5021, allocations: 105.9 kB / 0.6623 GB, free: 15.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.5021, allocations: 4 kB / 0.6623 GB, free: 15.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.000258/0.5024, allocations: 119.3 kB / 0.6624 GB, free: 15.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.5025, allocations: 81.09 kB / 0.6625 GB, free: 15.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.5026, allocations: 105.1 kB / 0.6626 GB, free: 15.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.5026, allocations: 32.14 kB / 0.6626 GB, free: 15.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.5027, allocations: 80.14 kB / 0.6627 GB, free: 15.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.5027, allocations: 19.8 kB / 0.6627 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.5027, allocations: 3.938 kB / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5029, allocations: 318.8 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.5029, allocations: 16 kB / 0.663 GB, free: 14.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.503, allocations: 38.56 kB / 0.6631 GB, free: 14.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.503, allocations: 43.66 kB / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.503, allocations: 0 / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001758/0.5032, allocations: 127.2 kB / 0.6632 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.5032, allocations: 29.7 kB / 0.6633 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5033, allocations: 8.016 kB / 0.6633 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5033, allocations: 7.938 kB / 0.6633 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.5033, allocations: 8 kB / 0.6633 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5033, allocations: 3.938 kB / 0.6633 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.5034, allocations: 15.92 kB / 0.6633 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.5034, allocations: 0 / 0.6633 GB, free: 14.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 9.779e-05/0.5035, allocations: 142.7 kB / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.5036, allocations: 7.906 kB / 0.6634 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.5036, allocations: 16.61 kB / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5036, allocations: 3.953 kB / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5036, allocations: 4 kB / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5036, allocations: 0 / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.504, allocations: 389.3 kB / 0.6638 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.504, allocations: 0 / 0.6638 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.504, allocations: 0 / 0.6638 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5041, allocations: 3.953 kB / 0.6638 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5041, allocations: 4 kB / 0.6638 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5041, allocations: 8.062 kB / 0.6639 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5041, allocations: 3.984 kB / 0.6639 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.5043, allocations: 236.1 kB / 0.6641 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.5044, allocations: 81.11 kB / 0.6642 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.5044, allocations: 3.953 kB / 0.6642 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.5045, allocations: 11.98 kB / 0.6642 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.5045, allocations: 12 kB / 0.6642 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.5046, allocations: 7.984 kB / 0.6642 GB, free: 13.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.5046, allocations: 86.17 kB / 0.6643 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5046, allocations: 4 kB / 0.6643 GB, free: 13.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.5049, allocations: 12 kB / 0.6643 GB, free: 13.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0004821/0.5053, allocations: 0.7576 MB / 0.665 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.5055, allocations: 119.3 kB / 0.6651 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5055, allocations: 0 / 0.6651 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.5056, allocations: 91.34 kB / 0.6652 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.5058, allocations: 15.94 kB / 0.6652 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.5062, allocations: 138.3 kB / 0.6654 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.5065, allocations: 0.694 MB / 0.6661 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.225e-05/0.5065, allocations: 11.77 kB / 0.6661 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.5066, allocations: 19.44 kB / 0.6661 GB, free: 11.47 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5066, allocations: 0 / 0.6661 GB, free: 11.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.5186, allocations: 1.596 MB / 0.6676 GB, free: 10.03 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.5189, allocations: 145 kB / 0.6678 GB, free: 9.805 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.93, allocations: 3.938 kB / 0.6678 GB, free: 9.801 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)