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: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 104.8 kB / 16.4 MB, free: 6.492 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.001214/0.001214, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6507/0.6507, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.89 kB / 0.5576 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 76.18 MB / 0.632 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002242/0.1334, allocations: 1.411 MB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.134, allocations: 443 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.1341, allocations: 0 / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.1341, allocations: 3.938 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.1342, allocations: 11.92 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.1343, allocations: 15.92 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1344, allocations: 51.8 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.1345, allocations: 11.97 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.1346, allocations: 23.88 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.1347, allocations: 27.91 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1347, allocations: 4 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.1347, allocations: 4 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.1347, allocations: 0 / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.1348, allocations: 27.86 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.251e-05/0.1349, allocations: 47.81 kB / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1349, allocations: 0 / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1349, allocations: 0 / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1349, allocations: 0 / 0.6341 GB, free: 2.371 MB / 478.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.0005432/0.1354, allocations: 389.1 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1355, allocations: 15.97 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1355, allocations: 0.9375 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1356, allocations: 172.2 kB / 0.6346 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1356, allocations: 8.312 kB / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1356, allocations: 8.359 kB / 0.6346 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.1358, allocations: 53.94 kB / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.1358, allocations: 4 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1358, allocations: 4 kB / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1358, allocations: 0 / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.1358, allocations: 19.98 kB / 0.6347 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.1362, allocations: 268.8 kB / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.1363, allocations: 46.5 kB / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.1363, allocations: 20.98 kB / 0.635 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1363, allocations: 4 kB / 0.635 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.1365, allocations: 101.1 kB / 0.6351 GB, free: 1.102 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.1365, allocations: 0 / 0.6351 GB, free: 1.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002767/0.1367, allocations: 139.2 kB / 0.6353 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1368, allocations: 81.11 kB / 0.6353 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.1369, allocations: 109.8 kB / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1369, allocations: 25.7 kB / 0.6355 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.1369, allocations: 92.14 kB / 0.6355 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.137, allocations: 23.81 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.137, allocations: 25.7 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.1371, allocations: 322.8 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.1371, allocations: 12 kB / 0.6359 GB, free: 228 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.1372, allocations: 42.5 kB / 0.636 GB, free: 176 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.1373, allocations: 110.4 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1373, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001498/0.1374, allocations: 131.2 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.1375, allocations: 34.08 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1375, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1375, allocations: 64 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.1375, allocations: 11.94 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1376, allocations: 3.938 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.1376, allocations: 12.05 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1376, allocations: 4 kB / 0.6362 GB, free: 15.83 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.0001114/0.1378, allocations: 162.9 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.1378, allocations: 7.906 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.1378, allocations: 8.375 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1378, allocations: 0 / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1378, allocations: 4 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1378, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.1382, allocations: 400.1 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1382, allocations: 4 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-06/0.1382, allocations: 0 / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1382, allocations: 0 / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1382, allocations: 3.984 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1383, allocations: 4 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1383, allocations: 3.938 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1384, allocations: 233.1 kB / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1385, allocations: 85.02 kB / 0.6371 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1385, allocations: 4 kB / 0.6371 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.1386, allocations: 7.984 kB / 0.6371 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1387, allocations: 15.92 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1387, allocations: 4 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.231e-05/0.1387, allocations: 83.28 kB / 0.6372 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1387, allocations: 3.938 kB / 0.6372 GB, free: 14.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.139, allocations: 16 kB / 0.6373 GB, free: 14.68 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.742e-05/0.1391, allocations: 107.2 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1392, allocations: 111.3 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1392, allocations: 0 / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.1393, allocations: 91.38 kB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1396, allocations: 15.92 kB / 0.6376 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.1399, allocations: 153.5 kB / 0.6377 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1402, allocations: 0.6886 MB / 0.6384 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.1402, allocations: 0 / 0.6384 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1403, allocations: 15.44 kB / 0.6384 GB, free: 13.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1403, allocations: 0 / 0.6384 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Templates: time 0.003002/0.1433, allocations: 0.8624 MB / 0.6392 GB, free: 12.57 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (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)