Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7592/0.7592, allocations: 137.4 MB / 442.4 MB, free: 13.81 MB / 350.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.3 kB / 0.6137 GB, free: 10.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1424, allocations: 85.52 MB / 0.6972 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002309/0.1447, allocations: 1.431 MB / 0.6986 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006773/0.1454, allocations: 450.8 kB / 0.6991 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.1454, allocations: 0 / 0.6991 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1455, allocations: 0 / 0.6991 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1456, allocations: 23.84 kB / 0.6991 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1458, allocations: 15.98 kB / 0.6991 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1459, allocations: 47.86 kB / 0.6991 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.146, allocations: 7.984 kB / 0.6991 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.1461, allocations: 23.88 kB / 0.6992 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.1461, allocations: 19.91 kB / 0.6992 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1461, allocations: 4 kB / 0.6992 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.1462, allocations: 4 kB / 0.6992 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.1462, allocations: 15.92 kB / 0.6992 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.1462, allocations: 15.92 kB / 0.6992 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1464, allocations: 51.7 kB / 0.6993 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1464, allocations: 0 / 0.6993 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1464, allocations: 0 / 0.6993 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1464, allocations: 4 kB / 0.6993 GB, free: 2.465 MB / 0.5137 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.0007201/0.1471, allocations: 397 kB / 0.6997 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1471, allocations: 8.031 kB / 0.6997 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1472, allocations: 4.938 kB / 0.6997 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1473, allocations: 172.3 kB / 0.6998 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1474, allocations: 384 / 0.6998 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1474, allocations: 12.36 kB / 0.6998 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1475, allocations: 50 kB / 0.6999 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1475, allocations: 0 / 0.6999 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1475, allocations: 0 / 0.6999 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1475, allocations: 4 kB / 0.6999 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.1476, allocations: 23.92 kB / 0.6999 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.148, allocations: 268.8 kB / 0.7002 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.1481, allocations: 38.56 kB / 0.7002 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.1481, allocations: 16.98 kB / 0.7002 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1482, allocations: 3.938 kB / 0.7002 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1483, allocations: 101 kB / 0.7003 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1483, allocations: 0 / 0.7003 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003078/0.1486, allocations: 151.3 kB / 0.7005 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.1487, allocations: 85.11 kB / 0.7006 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.1488, allocations: 105.8 kB / 0.7007 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1488, allocations: 29.7 kB / 0.7007 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.1489, allocations: 84.14 kB / 0.7008 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1489, allocations: 23.8 kB / 0.7008 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.149, allocations: 29.7 kB / 0.7008 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.1492, allocations: 318.8 kB / 0.7011 GB, free: 344 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.1492, allocations: 16 kB / 0.7011 GB, free: 328 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.1492, allocations: 42.5 kB / 0.7012 GB, free: 276 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1494, allocations: 110.3 kB / 0.7013 GB, free: 144 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1494, allocations: 0 / 0.7013 GB, free: 144 kB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/0.1496, allocations: 139.3 kB / 0.7014 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.1496, allocations: 29.7 kB / 0.7014 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1496, allocations: 8.062 kB / 0.7014 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1496, allocations: 0 / 0.7014 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.1497, allocations: 4 kB / 0.7015 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1497, allocations: 0 / 0.7015 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.1497, allocations: 7.984 kB / 0.7015 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1498, allocations: 4 kB / 0.7015 GB, free: 15.93 MB / 0.5294 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.0001167/0.1499, allocations: 166.7 kB / 0.7016 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.1499, allocations: 7.953 kB / 0.7016 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.1499, allocations: 8.375 kB / 0.7016 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1499, allocations: 0 / 0.7016 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1499, allocations: 4.062 kB / 0.7016 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1499, allocations: 4 kB / 0.7016 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.1504, allocations: 404.4 kB / 0.702 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1504, allocations: 4 kB / 0.702 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/0.1504, allocations: 0 / 0.702 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1504, allocations: 0 / 0.702 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1504, allocations: 7.984 kB / 0.702 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1504, allocations: 0 / 0.702 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1504, allocations: 4 kB / 0.702 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1506, allocations: 233.1 kB / 0.7023 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1507, allocations: 77.11 kB / 0.7023 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1507, allocations: 8 kB / 0.7024 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.1508, allocations: 7.984 kB / 0.7024 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1508, allocations: 11.92 kB / 0.7024 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1509, allocations: 4 kB / 0.7024 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.1509, allocations: 87.28 kB / 0.7025 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1509, allocations: 3.938 kB / 0.7025 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002198/0.1511, allocations: 20 kB / 0.7025 GB, free: 14.78 MB / 0.5294 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.485e-05/0.1512, allocations: 99.23 kB / 0.7026 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1514, allocations: 107.3 kB / 0.7027 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1514, allocations: 0 / 0.7027 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.1515, allocations: 83.33 kB / 0.7028 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1518, allocations: 26.39 kB / 0.7028 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.1521, allocations: 183 kB / 0.703 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1524, allocations: 0.6819 MB / 0.7036 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1524, allocations: 11.44 kB / 0.7036 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1524, allocations: 0 / 0.7036 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.002235/0.1546, allocations: 0.9037 MB / 0.7045 GB, free: 12.61 MB / 0.5294 GB [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480]