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.0011/0.0011, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5076/0.5076, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.416/1.416, allocations: 223.2 MB / 354.3 MB, free: 10.45 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.0009151/0.0009149, allocations: 103.1 kB / 427.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.000324, allocations: 4 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 72.31 MB / 0.5689 GB, free: 1.598 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5358/0.6924, allocations: 102.1 MB / 0.6686 GB, free: 2.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.6926, allocations: 71.95 kB / 0.6687 GB, free: 2.195 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003622/0.6963, allocations: 1.24 MB / 0.6699 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6963, allocations: 0 / 0.6699 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.6963, allocations: 4 kB / 0.6699 GB, free: 0.9609 MB / 458.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.0005021/0.6968, allocations: 393.5 kB / 0.6703 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6969, allocations: 8.031 kB / 0.6703 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.6969, allocations: 36.5 kB / 0.6703 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.697, allocations: 7.953 kB / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.6971, allocations: 167 kB / 0.6705 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.6971, allocations: 0 / 0.6705 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.6972, allocations: 4 kB / 0.6705 GB, free: 264 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.6973, allocations: 57.61 kB / 0.6705 GB, free: 200 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.6973, allocations: 4 kB / 0.6705 GB, free: 196 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6973, allocations: 3.984 kB / 0.6705 GB, free: 192 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6973, allocations: 3.953 kB / 0.6705 GB, free: 188 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.6974, allocations: 23.98 kB / 0.6706 GB, free: 164 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.6978, allocations: 268.8 kB / 0.6708 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.6979, allocations: 44.25 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.698, allocations: 4 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.6981, allocations: 97.22 kB / 0.671 GB, free: 15.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.6982, allocations: 0 / 0.671 GB, free: 15.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003242/0.6985, allocations: 224.3 kB / 0.6712 GB, free: 15.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.6986, allocations: 85.09 kB / 0.6713 GB, free: 15.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.6986, allocations: 105 kB / 0.6714 GB, free: 15.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.6987, allocations: 29.7 kB / 0.6714 GB, free: 15.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.6987, allocations: 92.12 kB / 0.6715 GB, free: 15.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.6988, allocations: 15.88 kB / 0.6715 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.6988, allocations: 4 kB / 0.6715 GB, free: 15.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6989, allocations: 318.8 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.6989, allocations: 12 kB / 0.6718 GB, free: 14.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.699, allocations: 42.5 kB / 0.6718 GB, free: 14.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.699, allocations: 53.64 kB / 0.6719 GB, free: 14.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6991, allocations: 0 / 0.6719 GB, free: 14.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001609/0.6992, allocations: 119.2 kB / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.6993, allocations: 39.25 kB / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6993, allocations: 0 / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6993, allocations: 3.953 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.6994, allocations: 8.875 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6994, allocations: 0 / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.6994, allocations: 11.98 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.6995, allocations: 8.062 kB / 0.6721 GB, free: 14.43 MB / 474.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 () * Number of clocked 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 0.0001195/0.6996, allocations: 146.6 kB / 0.6722 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.6996, allocations: 4 kB / 0.6722 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.6997, allocations: 16.3 kB / 0.6722 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6997, allocations: 3.953 kB / 0.6722 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6997, allocations: 0 / 0.6722 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6997, allocations: 0 / 0.6722 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.7001, allocations: 404 kB / 0.6726 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7002, allocations: 4 kB / 0.6726 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-06/0.7002, allocations: 384 / 0.6726 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7002, allocations: 7.953 kB / 0.6726 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7002, allocations: 0 / 0.6726 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.7002, allocations: 0 / 0.6726 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7002, allocations: 3.938 kB / 0.6726 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.7005, allocations: 233.2 kB / 0.6729 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.7005, allocations: 89 kB / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.7006, allocations: 7.953 kB / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.7007, allocations: 11.98 kB / 0.673 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.7007, allocations: 4 kB / 0.673 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.7007, allocations: 8 kB / 0.673 GB, free: 13.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.7008, allocations: 83.27 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7008, allocations: 0 / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.701, allocations: 20 kB / 0.6731 GB, free: 13.28 MB / 474.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) * Number of clocked states: 0 () * 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.0005828/0.7016, allocations: 0.7609 MB / 0.6738 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.7018, allocations: 115.3 kB / 0.6739 GB, free: 12.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7018, allocations: 0 / 0.6739 GB, free: 12.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.7019, allocations: 91.33 kB / 0.674 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.7022, allocations: 27.02 kB / 0.674 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.7031, allocations: 0.7811 MB / 0.6748 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.7034, allocations: 0.6926 MB / 0.6755 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.7034, allocations: 7.781 kB / 0.6755 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.7035, allocations: 19.42 kB / 0.6755 GB, free: 10.65 MB / 474.7 MB Notification: Performance of SimCode: time 7.71e-07/0.7035, allocations: 192 / 0.6755 GB, free: 10.65 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.7196, allocations: 1.577 MB / 0.6771 GB, free: 9.195 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.72, allocations: 173.8 kB / 0.6772 GB, free: 8.953 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/2.12, allocations: 0 / 0.6772 GB, free: 8.953 MB / 474.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)