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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001469/0.001469, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.373/1.373, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8151/0.8151, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.3 kB / 0.5911 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1402, allocations: 83.25 MB / 0.6724 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002587/0.1428, allocations: 1.422 MB / 0.6738 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000754/0.1436, allocations: 450.8 kB / 0.6742 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.1436, allocations: 4 kB / 0.6742 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.1436, allocations: 3.938 kB / 0.6742 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.1437, allocations: 15.86 kB / 0.6743 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.1439, allocations: 11.98 kB / 0.6743 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.144, allocations: 59.78 kB / 0.6743 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.1441, allocations: 4 kB / 0.6743 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.1441, allocations: 27.86 kB / 0.6744 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.1442, allocations: 15.92 kB / 0.6744 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1442, allocations: 7.984 kB / 0.6744 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1442, allocations: 4 kB / 0.6744 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.1443, allocations: 15.98 kB / 0.6744 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1443, allocations: 19.81 kB / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1444, allocations: 43.81 kB / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1444, allocations: 0 / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1444, allocations: 0 / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1444, allocations: 0 / 0.6745 GB, free: 1.828 MB / 0.4981 GB 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.0006049/0.145, allocations: 393 kB / 0.6748 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1451, allocations: 15.95 kB / 0.6749 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1451, allocations: 12.88 kB / 0.6749 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1453, allocations: 176.3 kB / 0.675 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1453, allocations: 4.375 kB / 0.675 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1453, allocations: 4.375 kB / 0.675 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1454, allocations: 53.98 kB / 0.6751 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1454, allocations: 0 / 0.6751 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1454, allocations: 0 / 0.6751 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1454, allocations: 0 / 0.6751 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.1455, allocations: 20 kB / 0.6751 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.146, allocations: 276.8 kB / 0.6754 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.1461, allocations: 34.58 kB / 0.6754 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.1461, allocations: 20.97 kB / 0.6754 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1461, allocations: 0 / 0.6754 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.1463, allocations: 101.1 kB / 0.6755 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.1463, allocations: 4 kB / 0.6755 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002958/0.1466, allocations: 143.3 kB / 0.6757 GB, free: 416 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1467, allocations: 85.09 kB / 0.6757 GB, free: 312 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.1468, allocations: 113.8 kB / 0.6759 GB, free: 188 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1468, allocations: 25.7 kB / 0.6759 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.1469, allocations: 88.09 kB / 0.676 GB, free: 64 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1469, allocations: 19.84 kB / 0.676 GB, free: 44 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1469, allocations: 29.7 kB / 0.676 GB, free: 8 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1471, allocations: 318.8 kB / 0.6763 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1471, allocations: 19.98 kB / 0.6763 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.1472, allocations: 38.78 kB / 0.6764 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1473, allocations: 118 kB / 0.6765 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1473, allocations: 3.938 kB / 0.6765 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001736/0.1475, allocations: 131.3 kB / 0.6766 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.1475, allocations: 33.69 kB / 0.6766 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1475, allocations: 0 / 0.6766 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1476, allocations: 4 kB / 0.6766 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.1476, allocations: 4 kB / 0.6767 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1476, allocations: 3.938 kB / 0.6767 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.1477, allocations: 7.984 kB / 0.6767 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1477, allocations: 8 kB / 0.6767 GB, free: 15.27 MB / 0.5137 GB 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.0001223/0.1478, allocations: 151.5 kB / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.1478, allocations: 11.95 kB / 0.6768 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.1478, allocations: 4.375 kB / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1478, allocations: 3.984 kB / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1479, allocations: 0 / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1479, allocations: 0 / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.1483, allocations: 404.1 kB / 0.6772 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1483, allocations: 4 kB / 0.6772 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.1483, allocations: 0 / 0.6772 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1483, allocations: 0 / 0.6772 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1483, allocations: 4 kB / 0.6772 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1483, allocations: 4 kB / 0.6772 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1483, allocations: 0 / 0.6772 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1486, allocations: 233.5 kB / 0.6775 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1486, allocations: 85.09 kB / 0.6775 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1486, allocations: 4 kB / 0.6775 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1487, allocations: 7.984 kB / 0.6775 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.1488, allocations: 15.92 kB / 0.6776 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1488, allocations: 8 kB / 0.6776 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.1489, allocations: 87.33 kB / 0.6777 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1489, allocations: 0 / 0.6777 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002282/0.1491, allocations: 23.94 kB / 0.6777 GB, free: 14.12 MB / 0.5137 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 9.964e-05/0.1492, allocations: 95.25 kB / 0.6778 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1494, allocations: 111.3 kB / 0.6779 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1494, allocations: 128 / 0.6779 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.1495, allocations: 83.39 kB / 0.678 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1498, allocations: 16.12 kB / 0.678 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.1502, allocations: 145.5 kB / 0.6781 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1505, allocations: 0.6894 MB / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.1506, allocations: 7.859 kB / 0.6788 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.1506, allocations: 15.38 kB / 0.6788 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1506, allocations: 4 kB / 0.6788 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.003432/0.154, allocations: 0.8901 MB / 0.6797 GB, free: 12 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480]