Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.001136, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6918/0.6918, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 403.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 105.8 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009767/0.0009768, allocations: 59.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1325, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002686/0.1352, allocations: 1.526 MB / 0.6417 GB, free: 5.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.136, allocations: 443.9 kB / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.136, allocations: 0 / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.1361, allocations: 3.984 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.1362, allocations: 11.94 kB / 0.6421 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.1363, allocations: 19.98 kB / 0.6421 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.066e-05/0.1364, allocations: 51.78 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1365, allocations: 11.98 kB / 0.6422 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.1366, allocations: 23.86 kB / 0.6422 GB, free: 4.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.1367, allocations: 23.92 kB / 0.6422 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1367, allocations: 0 / 0.6422 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.1367, allocations: 4 kB / 0.6422 GB, free: 4.652 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.1367, allocations: 11.98 kB / 0.6422 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.1368, allocations: 23.86 kB / 0.6423 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.1369, allocations: 39.88 kB / 0.6423 GB, free: 4.578 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1369, allocations: 0 / 0.6423 GB, free: 4.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1369, allocations: 0 / 0.6423 GB, free: 4.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.1369, allocations: 0 / 0.6423 GB, free: 4.578 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000537/0.1374, allocations: 359.6 kB / 0.6426 GB, free: 4.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1375, allocations: 12.03 kB / 0.6426 GB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1375, allocations: 8.938 kB / 0.6427 GB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1377, allocations: 176.2 kB / 0.6428 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1377, allocations: 8.375 kB / 0.6428 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1377, allocations: 4.375 kB / 0.6428 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.1378, allocations: 57.98 kB / 0.6429 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1378, allocations: 0 / 0.6429 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1378, allocations: 7.938 kB / 0.6429 GB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1378, allocations: 4 kB / 0.6429 GB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.1379, allocations: 23.92 kB / 0.6429 GB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.1384, allocations: 300.8 kB / 0.6432 GB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1385, allocations: 54.66 kB / 0.6433 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.1386, allocations: 24.89 kB / 0.6433 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1386, allocations: 0 / 0.6433 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1388, allocations: 83.36 kB / 0.6434 GB, free: 3.312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1388, allocations: 0 / 0.6434 GB, free: 3.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002186/0.139, allocations: 105.5 kB / 0.6435 GB, free: 3.203 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.139, allocations: 51.41 kB / 0.6435 GB, free: 3.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.1391, allocations: 113.8 kB / 0.6436 GB, free: 3.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1392, allocations: 25.7 kB / 0.6437 GB, free: 2.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.1392, allocations: 92.05 kB / 0.6437 GB, free: 2.895 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1392, allocations: 19.69 kB / 0.6438 GB, free: 2.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1393, allocations: 29.7 kB / 0.6438 GB, free: 2.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1394, allocations: 326.8 kB / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.1394, allocations: 12 kB / 0.6441 GB, free: 2.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.1395, allocations: 47.42 kB / 0.6442 GB, free: 2.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.1396, allocations: 71.36 kB / 0.6442 GB, free: 2.359 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1396, allocations: 0 / 0.6442 GB, free: 2.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001295/0.1397, allocations: 97.53 kB / 0.6443 GB, free: 2.258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1397, allocations: 4 kB / 0.6443 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1397, allocations: 7.984 kB / 0.6443 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1398, allocations: 0 / 0.6443 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.1398, allocations: 11.94 kB / 0.6443 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1399, allocations: 3.984 kB / 0.6443 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.1399, allocations: 7.984 kB / 0.6443 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1399, allocations: 4.062 kB / 0.6444 GB, free: 2.219 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.674e-05/0.14, allocations: 135.1 kB / 0.6445 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.14, allocations: 7.906 kB / 0.6445 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1401, allocations: 7.969 kB / 0.6445 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1401, allocations: 4 kB / 0.6445 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1401, allocations: 0 / 0.6445 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1401, allocations: 0 / 0.6445 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.1405, allocations: 354.4 kB / 0.6448 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1405, allocations: 3.984 kB / 0.6448 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.1405, allocations: 11.94 kB / 0.6449 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1405, allocations: 0 / 0.6449 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1405, allocations: 4 kB / 0.6449 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1405, allocations: 4.406 kB / 0.6449 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1406, allocations: 0 / 0.6449 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.141, allocations: 0.7473 MB / 0.6456 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.141, allocations: 88.95 kB / 0.6457 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.141, allocations: 0 / 0.6457 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1411, allocations: 7.984 kB / 0.6457 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1412, allocations: 16.2 kB / 0.6457 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1412, allocations: 4 kB / 0.6457 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.1412, allocations: 83.27 kB / 0.6458 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1412, allocations: 0 / 0.6458 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.1416, allocations: 16 kB / 0.6458 GB, free: 0.5977 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.543e-05/0.1417, allocations: 104.6 kB / 0.6459 GB, free: 496 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1418, allocations: 51.92 kB / 0.6459 GB, free: 444 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1418, allocations: 0 / 0.6459 GB, free: 444 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.1419, allocations: 27.92 kB / 0.646 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1422, allocations: 13.83 kB / 0.646 GB, free: 404 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.1425, allocations: 282.2 kB / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1428, allocations: 0.6887 MB / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.807e-05/0.1428, allocations: 4 kB / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.1429, allocations: 11.44 kB / 0.6469 GB, free: 15.35 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1429, allocations: 0 / 0.6469 GB, free: 15.35 MB / 458.7 MB Notification: Performance of Templates: time 0.002463/0.1453, allocations: 0.7089 MB / 0.6476 GB, free: 14.64 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)