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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008107/0.0008107, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008908/0.000891, allocations: 174.7 kB / 16.58 MB, free: 6.488 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.264/1.264, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6271/0.6271, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 8 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001443/0.1349, allocations: 1.13 MB / 0.558 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000603/0.1355, allocations: 403.4 kB / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.1356, allocations: 0 / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.1356, allocations: 3.984 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.1357, allocations: 3.938 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1359, allocations: 19.92 kB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.136, allocations: 43.86 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.136, allocations: 11.97 kB / 0.5585 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.1361, allocations: 19.94 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.1362, allocations: 15.92 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1362, allocations: 0 / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.1362, allocations: 4 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.1362, allocations: 7.922 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.1363, allocations: 33.7 kB / 0.5585 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.032e-05/0.1363, allocations: 20.23 kB / 0.5586 GB, free: 9.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1363, allocations: 0 / 0.5586 GB, free: 9.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1363, allocations: 0 / 0.5586 GB, free: 9.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1364, allocations: 0 / 0.5586 GB, free: 9.949 MB / 430.1 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.0005143/0.1369, allocations: 396.9 kB / 0.5589 GB, free: 9.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1369, allocations: 8.031 kB / 0.5589 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.137, allocations: 30.56 kB / 0.559 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.137, allocations: 7.906 kB / 0.559 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1371, allocations: 178.9 kB / 0.5591 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1371, allocations: 4 kB / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1372, allocations: 11.98 kB / 0.5592 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1373, allocations: 49.64 kB / 0.5592 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1373, allocations: 3.938 kB / 0.5592 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1373, allocations: 4 kB / 0.5592 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1373, allocations: 0 / 0.5592 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.1374, allocations: 19.98 kB / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1377, allocations: 264.8 kB / 0.5595 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.1378, allocations: 46.52 kB / 0.5595 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.1379, allocations: 24.98 kB / 0.5596 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1379, allocations: 0 / 0.5596 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.1381, allocations: 104.9 kB / 0.5597 GB, free: 8.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1381, allocations: 3.938 kB / 0.5597 GB, free: 8.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002412/0.1383, allocations: 135.4 kB / 0.5598 GB, free: 8.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1384, allocations: 85.11 kB / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.1385, allocations: 117.7 kB / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1385, allocations: 33.7 kB / 0.56 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1386, allocations: 80.14 kB / 0.5601 GB, free: 8.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1386, allocations: 19.8 kB / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1386, allocations: 0 / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.1387, allocations: 318.8 kB / 0.5604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.1387, allocations: 15.98 kB / 0.5604 GB, free: 7.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.1388, allocations: 38.56 kB / 0.5605 GB, free: 7.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.1388, allocations: 45.7 kB / 0.5605 GB, free: 7.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1388, allocations: 0 / 0.5605 GB, free: 7.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001451/0.139, allocations: 131.2 kB / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.139, allocations: 31.73 kB / 0.5607 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1391, allocations: 4 kB / 0.5607 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1391, allocations: 3.984 kB / 0.5607 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.1391, allocations: 11.94 kB / 0.5607 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1391, allocations: 4.062 kB / 0.5607 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.1392, allocations: 11.94 kB / 0.5607 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1392, allocations: 0 / 0.5607 GB, free: 7.469 MB / 430.1 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 9.551e-05/0.1393, allocations: 148.2 kB / 0.5608 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.1393, allocations: 7.953 kB / 0.5608 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.1394, allocations: 12.38 kB / 0.5609 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1394, allocations: 3.938 kB / 0.5609 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1394, allocations: 4 kB / 0.5609 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1394, allocations: 0 / 0.5609 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.1398, allocations: 404.4 kB / 0.5613 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1398, allocations: 0 / 0.5613 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.1398, allocations: 3.938 kB / 0.5613 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1398, allocations: 0 / 0.5613 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1398, allocations: 4 kB / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1398, allocations: 4.062 kB / 0.5613 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1398, allocations: 0 / 0.5613 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.14, allocations: 241.1 kB / 0.5615 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1401, allocations: 81.02 kB / 0.5616 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1401, allocations: 4 kB / 0.5616 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.1402, allocations: 11.98 kB / 0.5616 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1403, allocations: 11.98 kB / 0.5616 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1403, allocations: 4 kB / 0.5616 GB, free: 6.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.1403, allocations: 87.27 kB / 0.5617 GB, free: 6.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1403, allocations: 4 kB / 0.5617 GB, free: 6.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1406, allocations: 12 kB / 0.5617 GB, free: 6.324 MB / 430.1 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.0004677/0.141, allocations: 0.774 MB / 0.5625 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1412, allocations: 115.3 kB / 0.5626 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1412, allocations: 4.125 kB / 0.5626 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.1413, allocations: 91.33 kB / 0.5627 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.1416, allocations: 12 kB / 0.5627 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.1423, allocations: 0.4998 MB / 0.5632 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1426, allocations: 0.6889 MB / 0.5638 GB, free: 4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.1426, allocations: 7.781 kB / 0.5638 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.1426, allocations: 23.36 kB / 0.5639 GB, free: 3.969 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1426, allocations: 0 / 0.5639 GB, free: 3.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.1532, allocations: 1.585 MB / 0.5654 GB, free: 2.523 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.1534, allocations: 179.7 kB / 0.5656 GB, free: 2.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.798, allocations: 0 / 0.5656 GB, free: 2.285 MB / 430.1 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) Environment - environmentSimulation: