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.001514/0.001514, allocations: 105.3 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 192 kB / 17.34 MB, free: 5.734 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8175/0.8175, allocations: 125.3 MB / 416.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 66.56 kB / 0.5716 GB, free: 27.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 78.56 MB / 0.6483 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002736/0.1283, allocations: 1.422 MB / 0.6497 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.1291, allocations: 440.3 kB / 0.6501 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.1291, allocations: 0 / 0.6501 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1292, allocations: 3.938 kB / 0.6501 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.1293, allocations: 15.91 kB / 0.6501 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.1294, allocations: 19.92 kB / 0.6502 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1296, allocations: 55.86 kB / 0.6502 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.1297, allocations: 7.984 kB / 0.6502 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.1297, allocations: 15.94 kB / 0.6502 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.1298, allocations: 19.86 kB / 0.6503 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1298, allocations: 4 kB / 0.6503 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.1298, allocations: 4 kB / 0.6503 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.1299, allocations: 15.91 kB / 0.6503 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.1299, allocations: 23.92 kB / 0.6503 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.13, allocations: 40.06 kB / 0.6503 GB, free: 3.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1301, allocations: 3.984 kB / 0.6503 GB, free: 3.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1301, allocations: 4 kB / 0.6503 GB, free: 3.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1301, allocations: 0 / 0.6503 GB, free: 3.539 MB / 494.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.0006065/0.1307, allocations: 393 kB / 0.6507 GB, free: 3.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1307, allocations: 8.031 kB / 0.6507 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.1308, allocations: 34.75 kB / 0.6508 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.1308, allocations: 0.9375 kB / 0.6508 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.131, allocations: 180.2 kB / 0.6509 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.131, allocations: 12.38 kB / 0.6509 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.131, allocations: 384 / 0.6509 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1311, allocations: 53.75 kB / 0.651 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1311, allocations: 0 / 0.651 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1312, allocations: 4 kB / 0.651 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1312, allocations: 4 kB / 0.651 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.845e-05/0.1312, allocations: 15.98 kB / 0.651 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.1316, allocations: 264.8 kB / 0.6513 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.1317, allocations: 50.5 kB / 0.6513 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.1318, allocations: 24.92 kB / 0.6513 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1318, allocations: 0 / 0.6513 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.132, allocations: 101 kB / 0.6514 GB, free: 2.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.132, allocations: 4 kB / 0.6514 GB, free: 2.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002806/0.1323, allocations: 139.4 kB / 0.6516 GB, free: 2.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1324, allocations: 85.11 kB / 0.6517 GB, free: 1.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.1325, allocations: 113.8 kB / 0.6518 GB, free: 1.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1325, allocations: 29.7 kB / 0.6518 GB, free: 1.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1325, allocations: 84.14 kB / 0.6519 GB, free: 1.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1326, allocations: 23.83 kB / 0.6519 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1326, allocations: 21.72 kB / 0.6519 GB, free: 1.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1328, allocations: 322.8 kB / 0.6522 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.1328, allocations: 12 kB / 0.6522 GB, free: 1.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.1329, allocations: 46.5 kB / 0.6523 GB, free: 1.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.133, allocations: 113.9 kB / 0.6524 GB, free: 1.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.133, allocations: 0 / 0.6524 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001699/0.1332, allocations: 135.3 kB / 0.6525 GB, free: 1.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.1332, allocations: 29.7 kB / 0.6526 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1332, allocations: 4.062 kB / 0.6526 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1332, allocations: 4 kB / 0.6526 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.1333, allocations: 7.922 kB / 0.6526 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1333, allocations: 4 kB / 0.6526 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.1334, allocations: 4 kB / 0.6526 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1334, allocations: 4 kB / 0.6526 GB, free: 0.9531 MB / 494.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 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.1335, allocations: 151.5 kB / 0.6527 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.1335, allocations: 11.94 kB / 0.6527 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.1336, allocations: 12.38 kB / 0.6527 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1336, allocations: 0 / 0.6527 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1336, allocations: 0 / 0.6527 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1336, allocations: 384 / 0.6527 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.134, allocations: 400.1 kB / 0.6531 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.134, allocations: 0 / 0.6531 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.1341, allocations: 7.984 kB / 0.6531 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1341, allocations: 0 / 0.6531 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1341, allocations: 4 kB / 0.6531 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1341, allocations: 0 / 0.6531 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.1341, allocations: 12.41 kB / 0.6531 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1343, allocations: 229.1 kB / 0.6534 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1344, allocations: 85.06 kB / 0.6534 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1344, allocations: 0 / 0.6534 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1346, allocations: 15.98 kB / 0.6535 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1346, allocations: 11.92 kB / 0.6535 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1346, allocations: 0 / 0.6535 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.1347, allocations: 95.34 kB / 0.6536 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1347, allocations: 0 / 0.6536 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002407/0.1349, allocations: 12 kB / 0.6536 GB, free: 15.8 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005267/0.1355, allocations: 0.761 MB / 0.6543 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1357, allocations: 123.3 kB / 0.6544 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1357, allocations: 4.062 kB / 0.6544 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.1358, allocations: 87.34 kB / 0.6545 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1361, allocations: 19.86 kB / 0.6545 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1374, allocations: 1.416 MB / 0.6559 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1378, allocations: 0.6885 MB / 0.6566 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.1378, allocations: 11.84 kB / 0.6566 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.1378, allocations: 15.44 kB / 0.6566 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.083e-06/0.1379, allocations: 0 / 0.6566 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2783/0.4162, allocations: 1.88 MB / 0.6585 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.144, allocations: 9.203 kB / 0.6585 GB, free: 10.69 MB / 0.4981 GB (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/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)