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.001109/0.001109, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001189/0.001189, allocations: 192.2 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.324/1.324, 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.7958/0.7958, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.84 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00386/0.1426, allocations: 2.6 MB / 0.6628 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1443, allocations: 0.9116 MB / 0.6637 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.1446, allocations: 19.88 kB / 0.6637 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1449, allocations: 63.39 kB / 0.6638 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1451, allocations: 63.33 kB / 0.6639 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.1457, allocations: 238.7 kB / 0.6641 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.1462, allocations: 455.7 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.1466, allocations: 229.1 kB / 0.6647 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1468, allocations: 143.3 kB / 0.6649 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.147, allocations: 147.2 kB / 0.665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.1471, allocations: 52 kB / 0.6651 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.1471, allocations: 48 kB / 0.6651 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.1472, allocations: 95.7 kB / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1474, allocations: 191 kB / 0.6654 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.148, allocations: 0.6229 MB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.148, allocations: 4 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.148, allocations: 0 / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.148, allocations: 0 / 0.666 GB, free: 4.402 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.0009789/0.149, allocations: 0.6351 MB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.149, allocations: 11.97 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.1491, allocations: 40.47 kB / 0.6667 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.1496, allocations: 399.2 kB / 0.6671 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.1496, allocations: 20.94 kB / 0.6671 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.1496, allocations: 24.38 kB / 0.6671 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.1502, allocations: 345.6 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1503, allocations: 0 / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1503, allocations: 8 kB / 0.6674 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1503, allocations: 8 kB / 0.6674 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.1508, allocations: 234.1 kB / 0.6677 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1523, allocations: 1.155 MB / 0.6688 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1528, allocations: 230.8 kB / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.153, allocations: 100.8 kB / 0.6691 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1531, allocations: 4 kB / 0.6691 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1531, allocations: 34.56 kB / 0.6691 GB, free: 1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.1531, allocations: 0 / 0.6691 GB, free: 1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006575/0.1538, allocations: 297.2 kB / 0.6694 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1538, allocations: 81.11 kB / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.1542, allocations: 332.4 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1542, allocations: 25.7 kB / 0.6699 GB, free: 248 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1543, allocations: 200 kB / 0.67 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.1544, allocations: 51.44 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.1545, allocations: 41.7 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1546, allocations: 342.8 kB / 0.6705 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1548, allocations: 92.81 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.155, allocations: 111.4 kB / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.1554, allocations: 188 kB / 0.6708 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1555, allocations: 0 / 0.6708 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004831/0.1559, allocations: 263.2 kB / 0.6711 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.156, allocations: 8 kB / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.156, allocations: 0 / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.156, allocations: 3.984 kB / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.1562, allocations: 35.92 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1562, allocations: 3.938 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.1564, allocations: 31.7 kB / 0.6712 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1564, allocations: 4 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00024/0.1566, allocations: 204.8 kB / 0.6714 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001441/0.1568, allocations: 101.6 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002582/0.1571, allocations: 172.1 kB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.1571, allocations: 3.984 kB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003632/0.1574, allocations: 225.3 kB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.1574, allocations: 4 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.1575, allocations: 0 / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.1575, allocations: 4 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1576, allocations: 27.92 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1576, allocations: 4 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1577, allocations: 19.83 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1577, allocations: 7.938 kB / 0.6719 GB, free: 14.06 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.0001128/0.1579, allocations: 188.3 kB / 0.6721 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1579, allocations: 31.62 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.158, allocations: 35.28 kB / 0.6721 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.158, allocations: 0 / 0.6721 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.158, allocations: 0 / 0.6721 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.158, allocations: 3.938 kB / 0.6722 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.1585, allocations: 409.3 kB / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1585, allocations: 4 kB / 0.6725 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1586, allocations: 31.92 kB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1587, allocations: 0 / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1587, allocations: 4 kB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1587, allocations: 4 kB / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1587, allocations: 0 / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.1594, allocations: 437.8 kB / 0.673 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1595, allocations: 132.7 kB / 0.6731 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.1596, allocations: 12 kB / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1597, allocations: 11.98 kB / 0.6732 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1598, allocations: 11.94 kB / 0.6732 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1598, allocations: 7.984 kB / 0.6732 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002282/0.16, allocations: 235.1 kB / 0.6734 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.503e-06/0.16, allocations: 0 / 0.6734 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000388/0.1604, allocations: 87.62 kB / 0.6735 GB, free: 12.36 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.0001168/0.1605, allocations: 99.25 kB / 0.6736 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.1611, allocations: 293.7 kB / 0.6739 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1612, allocations: 0 / 0.6739 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1614, allocations: 95.91 kB / 0.6739 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.1619, allocations: 93.55 kB / 0.674 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.163, allocations: 0.5748 MB / 0.6746 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1633, allocations: 0.7792 MB / 0.6754 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.1634, allocations: 23.44 kB / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1634, allocations: 0 / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.006265/0.1697, allocations: 4.002 MB / 0.6793 GB, free: 6.371 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)