Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001619/0.00162, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.784/0.784, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.78 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003932/0.151, allocations: 2.587 MB / 0.6628 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1526, allocations: 0.9155 MB / 0.6637 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.1529, allocations: 11.94 kB / 0.6637 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1532, allocations: 63.33 kB / 0.6638 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1534, allocations: 59.41 kB / 0.6639 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.1539, allocations: 238.6 kB / 0.6641 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.1544, allocations: 459.7 kB / 0.6645 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.1548, allocations: 233.1 kB / 0.6648 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.155, allocations: 143.4 kB / 0.6649 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1552, allocations: 147.2 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.1552, allocations: 52 kB / 0.6651 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.1553, allocations: 48 kB / 0.6651 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.1554, allocations: 91.66 kB / 0.6652 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1556, allocations: 195.1 kB / 0.6654 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.1561, allocations: 0.6229 MB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1562, allocations: 0 / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1562, allocations: 0 / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.1562, allocations: 3.938 kB / 0.666 GB, free: 4.395 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001019/0.1572, allocations: 0.6429 MB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1572, allocations: 11.97 kB / 0.6666 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.1573, allocations: 40.47 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.1578, allocations: 387.2 kB / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1579, allocations: 24.94 kB / 0.6671 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.1579, allocations: 24.38 kB / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.1585, allocations: 337.7 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1585, allocations: 0 / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1586, allocations: 8 kB / 0.6674 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1586, allocations: 11.98 kB / 0.6674 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.1591, allocations: 234.1 kB / 0.6677 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1606, allocations: 1.151 MB / 0.6688 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.1611, allocations: 234.8 kB / 0.669 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1613, allocations: 100.8 kB / 0.6691 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1613, allocations: 8 kB / 0.6691 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1613, allocations: 38.5 kB / 0.6692 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1613, allocations: 0 / 0.6692 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006394/0.162, allocations: 293.2 kB / 0.6694 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.1621, allocations: 77.11 kB / 0.6695 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.1624, allocations: 336.4 kB / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1624, allocations: 29.7 kB / 0.6699 GB, free: 236 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1626, allocations: 200 kB / 0.67 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.1627, allocations: 47.44 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.1628, allocations: 41.7 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1629, allocations: 342.8 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1631, allocations: 84.83 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1633, allocations: 123.3 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.1637, allocations: 184.1 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1637, allocations: 32 / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004559/0.1641, allocations: 253.1 kB / 0.6711 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1642, allocations: 14.17 kB / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1642, allocations: 0 / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1642, allocations: 0 / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1644, allocations: 39.92 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1644, allocations: 3.938 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1645, allocations: 31.77 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1645, allocations: 8 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002704/0.1648, allocations: 196.8 kB / 0.6714 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.165, allocations: 101.6 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002484/0.1652, allocations: 170.4 kB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.1652, allocations: 0 / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003768/0.1656, allocations: 230.9 kB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.1657, allocations: 4 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.1657, allocations: 0 / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.1657, allocations: 7.984 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1658, allocations: 27.92 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1658, allocations: 4 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1659, allocations: 15.84 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.166, allocations: 15.98 kB / 0.6719 GB, free: 14.05 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: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001031/0.1661, allocations: 194.8 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1661, allocations: 31.62 kB / 0.6721 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.1662, allocations: 35.28 kB / 0.6722 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1662, allocations: 3.938 kB / 0.6722 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1662, allocations: 0 / 0.6722 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1662, allocations: 7.938 kB / 0.6722 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1666, allocations: 405.3 kB / 0.6726 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1667, allocations: 0 / 0.6726 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.1668, allocations: 27.98 kB / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1668, allocations: 0 / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.1669, allocations: 8 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1669, allocations: 4 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1669, allocations: 0 / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.1676, allocations: 445.8 kB / 0.673 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1677, allocations: 132.7 kB / 0.6731 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.1677, allocations: 4 kB / 0.6731 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1679, allocations: 8 kB / 0.6732 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.1679, allocations: 11.92 kB / 0.6732 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.168, allocations: 8 kB / 0.6732 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002845/0.1683, allocations: 235 kB / 0.6734 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.403e-06/0.1683, allocations: 0 / 0.6734 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003848/0.1687, allocations: 91.62 kB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001126/0.1688, allocations: 103.3 kB / 0.6736 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.1694, allocations: 289.2 kB / 0.6739 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1694, allocations: 0 / 0.6739 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.1696, allocations: 92.16 kB / 0.6739 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.1703, allocations: 92.55 kB / 0.674 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1714, allocations: 0.5723 MB / 0.6746 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1718, allocations: 0.7753 MB / 0.6754 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.172, allocations: 19.44 kB / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 2.494e-06/0.172, allocations: 0 / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.008845/0.1808, allocations: 4.043 MB / 0.6793 GB, free: 6.324 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)