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.0007424/0.0007422, allocations: 97.28 kB / 15.69 MB, free: 480 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.0007993/0.0007992, allocations: 176 kB / 16.57 MB, free: 6.398 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.175/1.175, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5926/0.5926, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002517, allocations: 11.98 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 77.1 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001045/0.1359, allocations: 1.122 MB / 0.5578 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000457/0.1364, allocations: 403.4 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.1364, allocations: 0 / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.226e-06/0.1364, allocations: 3.938 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.1364, allocations: 7.969 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.872e-05/0.1365, allocations: 12 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.1366, allocations: 35.89 kB / 0.5583 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.1366, allocations: 11.98 kB / 0.5583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.1367, allocations: 19.92 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.1367, allocations: 15.92 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1368, allocations: 4 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.1368, allocations: 0 / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.1368, allocations: 7.984 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1368, allocations: 33.7 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.063e-05/0.1369, allocations: 24.17 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1369, allocations: 4 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1369, allocations: 4 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1369, allocations: 0 / 0.5584 GB, free: 10.02 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.0004418/0.1374, allocations: 384.9 kB / 0.5587 GB, free: 9.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1374, allocations: 8.031 kB / 0.5587 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.1374, allocations: 34.5 kB / 0.5588 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.1375, allocations: 7.906 kB / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.1376, allocations: 179 kB / 0.559 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1376, allocations: 4 kB / 0.559 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1376, allocations: 4 kB / 0.559 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.1377, allocations: 49.64 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1377, allocations: 0 / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1377, allocations: 4 kB / 0.559 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1377, allocations: 3.984 kB / 0.559 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.1378, allocations: 19.94 kB / 0.559 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.1381, allocations: 264.9 kB / 0.5593 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.1382, allocations: 46.52 kB / 0.5593 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1382, allocations: 0 / 0.5593 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.1383, allocations: 113 kB / 0.5594 GB, free: 8.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1384, allocations: 0 / 0.5594 GB, free: 8.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002501/0.1386, allocations: 216.5 kB / 0.5597 GB, free: 8.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1387, allocations: 85.11 kB / 0.5597 GB, free: 8.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.1387, allocations: 113.8 kB / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1387, allocations: 29.7 kB / 0.5599 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.1388, allocations: 84.14 kB / 0.5599 GB, free: 8.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1388, allocations: 19.8 kB / 0.56 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.1388, allocations: 0 / 0.56 GB, free: 8.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.1389, allocations: 318.8 kB / 0.5603 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.1389, allocations: 15.98 kB / 0.5603 GB, free: 7.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.139, allocations: 40.42 kB / 0.5603 GB, free: 7.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.139, allocations: 45.7 kB / 0.5604 GB, free: 7.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.139, allocations: 0 / 0.5604 GB, free: 7.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001331/0.1392, allocations: 131.2 kB / 0.5605 GB, free: 7.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1392, allocations: 29.7 kB / 0.5605 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1392, allocations: 4 kB / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1392, allocations: 4.062 kB / 0.5605 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.1393, allocations: 11.92 kB / 0.5605 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1393, allocations: 400 / 0.5605 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1393, allocations: 19.88 kB / 0.5606 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1394, allocations: 0 / 0.5606 GB, free: 7.48 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 8.68e-05/0.1395, allocations: 152.2 kB / 0.5607 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1395, allocations: 7.953 kB / 0.5607 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.1395, allocations: 12.38 kB / 0.5607 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1395, allocations: 4.062 kB / 0.5607 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1395, allocations: 4 kB / 0.5607 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.1395, allocations: 0 / 0.5607 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.1398, allocations: 408.4 kB / 0.5611 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1399, allocations: 0 / 0.5611 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.1399, allocations: 0 / 0.5611 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1399, allocations: 0 / 0.5611 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1399, allocations: 4 kB / 0.5611 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1399, allocations: 4.016 kB / 0.5611 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1399, allocations: 3.984 kB / 0.5611 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.1401, allocations: 233.2 kB / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1401, allocations: 81.02 kB / 0.5614 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1401, allocations: 8 kB / 0.5614 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.1402, allocations: 11.98 kB / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1403, allocations: 7.984 kB / 0.5615 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1403, allocations: 4 kB / 0.5615 GB, free: 6.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.1403, allocations: 95.2 kB / 0.5616 GB, free: 6.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1404, allocations: 0 / 0.5616 GB, free: 6.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1406, allocations: 16 kB / 0.5616 GB, free: 6.328 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.0003634/0.1409, allocations: 0.7654 MB / 0.5623 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.1411, allocations: 115.4 kB / 0.5624 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1411, allocations: 0 / 0.5624 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.1412, allocations: 91.33 kB / 0.5625 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.1413, allocations: 12 kB / 0.5625 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.1421, allocations: 0.8017 MB / 0.5633 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.1423, allocations: 0.6887 MB / 0.564 GB, free: 3.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.1423, allocations: 7.781 kB / 0.564 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1423, allocations: 19.44 kB / 0.564 GB, free: 3.684 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1423, allocations: 4 kB / 0.564 GB, free: 3.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/0.2596, allocations: 1.575 MB / 0.5656 GB, free: 2.238 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.2599, allocations: 169.8 kB / 0.5657 GB, free: 2.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/1.72, allocations: 4 kB / 0.5657 GB, free: 2 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: