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.0008415/0.0008415, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4784/0.4784, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.000941, allocations: 101.5 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.523e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/0.5508, allocations: 101.3 MB / 0.6526 GB, free: 8.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.551, allocations: 72.14 kB / 0.6526 GB, free: 8.605 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003219/0.5543, allocations: 1.227 MB / 0.6538 GB, free: 7.551 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5543, allocations: 0 / 0.6538 GB, free: 7.551 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.5543, allocations: 0 / 0.6538 GB, free: 7.551 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.0004357/0.5547, allocations: 383.2 kB / 0.6542 GB, free: 7.133 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5548, allocations: 8.031 kB / 0.6542 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.5548, allocations: 15.86 kB / 0.6542 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.555, allocations: 167 kB / 0.6544 GB, free: 6.906 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.555, allocations: 3.938 kB / 0.6544 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.555, allocations: 4 kB / 0.6544 GB, free: 6.898 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.021e-05/0.5551, allocations: 15.12 kB / 0.6544 GB, free: 6.891 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.5552, allocations: 44.94 kB / 0.6545 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5552, allocations: 3.984 kB / 0.6545 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5552, allocations: 2.625 kB / 0.6545 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5552, allocations: 3.953 kB / 0.6545 GB, free: 6.836 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.5556, allocations: 251.6 kB / 0.6547 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.5557, allocations: 37.77 kB / 0.6547 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.5558, allocations: 16.11 kB / 0.6548 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.5558, allocations: 0 / 0.6548 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.556, allocations: 99.97 kB / 0.6549 GB, free: 6.406 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.556, allocations: 4 kB / 0.6549 GB, free: 6.402 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002125/0.5562, allocations: 87.67 kB / 0.6549 GB, free: 6.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.5563, allocations: 84.42 kB / 0.655 GB, free: 6.223 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.688e-05/0.5563, allocations: 100.3 kB / 0.6551 GB, free: 6.121 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5564, allocations: 25.7 kB / 0.6551 GB, free: 6.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.5564, allocations: 87.33 kB / 0.6552 GB, free: 6.004 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.5565, allocations: 19.42 kB / 0.6552 GB, free: 5.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5565, allocations: 4 kB / 0.6552 GB, free: 5.984 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5566, allocations: 314.3 kB / 0.6555 GB, free: 5.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.5566, allocations: 17.5 kB / 0.6556 GB, free: 5.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.5567, allocations: 34.38 kB / 0.6556 GB, free: 5.621 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.5567, allocations: 18.56 kB / 0.6556 GB, free: 5.609 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5568, allocations: 0 / 0.6556 GB, free: 5.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001812/0.557, allocations: 83.66 kB / 0.6557 GB, free: 5.535 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.557, allocations: 37.62 kB / 0.6557 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.557, allocations: 8.062 kB / 0.6557 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5571, allocations: 0 / 0.6557 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.5571, allocations: 11.31 kB / 0.6558 GB, free: 5.477 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5571, allocations: 3.953 kB / 0.6558 GB, free: 5.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.5572, allocations: 11.94 kB / 0.6558 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.5573, allocations: 0 / 0.6558 GB, free: 5.461 MB / 458.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 0.0001139/0.5574, allocations: 139.4 kB / 0.6559 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001707/0.5576, allocations: 100.7 kB / 0.656 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.5576, allocations: 8 kB / 0.656 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.5576, allocations: 19.86 kB / 0.656 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5576, allocations: 4 kB / 0.656 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5577, allocations: 0 / 0.656 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5577, allocations: 0 / 0.656 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.5581, allocations: 336.1 kB / 0.6563 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5581, allocations: 3.984 kB / 0.6563 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.5581, allocations: 0 / 0.6563 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.5581, allocations: 7.953 kB / 0.6564 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5581, allocations: 4 kB / 0.6564 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5581, allocations: 0 / 0.6564 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5582, allocations: 0.5469 kB / 0.6564 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.5584, allocations: 191.2 kB / 0.6565 GB, free: 4.645 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.5584, allocations: 81.02 kB / 0.6566 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.5585, allocations: 7.953 kB / 0.6566 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5586, allocations: 11.98 kB / 0.6566 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.5587, allocations: 14.92 kB / 0.6567 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5587, allocations: 0 / 0.6567 GB, free: 4.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.5587, allocations: 87.09 kB / 0.6567 GB, free: 4.434 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5587, allocations: 0 / 0.6567 GB, free: 4.434 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.559, allocations: 12 kB / 0.6567 GB, free: 4.422 MB / 458.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.0004751/0.5595, allocations: 0.7371 MB / 0.6575 GB, free: 3.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.5597, allocations: 108.1 kB / 0.6576 GB, free: 3.578 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5597, allocations: 0 / 0.6576 GB, free: 3.578 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.5598, allocations: 81.41 kB / 0.6576 GB, free: 3.496 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.56, allocations: 19.53 kB / 0.6577 GB, free: 3.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.5605, allocations: 126.9 kB / 0.6578 GB, free: 3.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5608, allocations: 0.6925 MB / 0.6585 GB, free: 2.609 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.08e-05/0.5608, allocations: 11.77 kB / 0.6585 GB, free: 2.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.5609, allocations: 18.5 kB / 0.6585 GB, free: 2.586 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5609, allocations: 0 / 0.6585 GB, free: 2.586 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.5814, allocations: 1.287 MB / 0.6598 GB, free: 1.316 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.5817, allocations: 135 kB / 0.6599 GB, free: 1.121 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.377/1.959, allocations: 0 / 0.6599 GB, free: 1.121 MB / 458.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)