Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) 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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001663/0.001663, allocations: 113.2 kB / 16.41 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.001786/0.001786, allocations: 183 kB / 17.34 MB, free: 5.762 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8594/0.8594, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 62.86 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004427/0.16, allocations: 2.608 MB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1618, allocations: 0.9116 MB / 0.6688 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1621, allocations: 11.94 kB / 0.6688 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1623, allocations: 67.33 kB / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1625, allocations: 67.41 kB / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.163, allocations: 227.7 kB / 0.6691 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.1635, allocations: 455.7 kB / 0.6696 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.1638, allocations: 149.2 kB / 0.6697 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.164, allocations: 147.4 kB / 0.6698 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1641, allocations: 151.2 kB / 0.67 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.851e-05/0.1642, allocations: 51.94 kB / 0.67 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.1643, allocations: 56 kB / 0.6701 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.1644, allocations: 83.72 kB / 0.6702 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1645, allocations: 187.1 kB / 0.6704 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.1652, allocations: 0.6188 MB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1652, allocations: 4 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1652, allocations: 0 / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.1653, allocations: 0 / 0.671 GB, free: 15.98 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001042/0.1663, allocations: 0.6659 MB / 0.6716 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1663, allocations: 13.11 kB / 0.6716 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.1664, allocations: 44.66 kB / 0.6717 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.167, allocations: 383.5 kB / 0.672 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.1671, allocations: 28.94 kB / 0.6721 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.1671, allocations: 28.38 kB / 0.6721 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.1677, allocations: 325.7 kB / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1677, allocations: 0 / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1678, allocations: 12 kB / 0.6724 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1678, allocations: 8 kB / 0.6724 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.1683, allocations: 242.1 kB / 0.6726 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1699, allocations: 1.155 MB / 0.6738 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1704, allocations: 230.3 kB / 0.674 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1706, allocations: 92.83 kB / 0.6741 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1707, allocations: 4 kB / 0.6741 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1707, allocations: 34.56 kB / 0.6741 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1707, allocations: 0 / 0.6741 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0007105/0.1714, allocations: 295.9 kB / 0.6744 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.1715, allocations: 89.11 kB / 0.6745 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.1719, allocations: 324.5 kB / 0.6748 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1719, allocations: 29.7 kB / 0.6748 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.1721, allocations: 204.2 kB / 0.675 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.1721, allocations: 55.52 kB / 0.6751 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.1722, allocations: 45.64 kB / 0.6751 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1724, allocations: 342.8 kB / 0.6754 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1726, allocations: 88.81 kB / 0.6755 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1728, allocations: 125.7 kB / 0.6756 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.1732, allocations: 192.1 kB / 0.6758 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1732, allocations: 3.938 kB / 0.6758 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000498/0.1737, allocations: 259.5 kB / 0.6761 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1737, allocations: 8 kB / 0.6761 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1737, allocations: 0 / 0.6761 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1738, allocations: 0 / 0.6761 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.1739, allocations: 31.92 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1739, allocations: 8.062 kB / 0.6761 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1741, allocations: 31.77 kB / 0.6762 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1741, allocations: 4 kB / 0.6762 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002672/0.1744, allocations: 196.1 kB / 0.6763 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001666/0.1745, allocations: 99.34 kB / 0.6764 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002942/0.1748, allocations: 170.5 kB / 0.6766 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.1748, allocations: 0 / 0.6766 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003971/0.1752, allocations: 227 kB / 0.6768 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.1752, allocations: 4 kB / 0.6768 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.1752, allocations: 0 / 0.6768 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.1752, allocations: 4 kB / 0.6768 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1754, allocations: 31.92 kB / 0.6769 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1754, allocations: 8.062 kB / 0.6769 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1755, allocations: 15.92 kB / 0.6769 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1755, allocations: 11.94 kB / 0.6769 GB, free: 9.602 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.0001484/0.1756, allocations: 188.2 kB / 0.6771 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.1757, allocations: 31.81 kB / 0.6771 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.1758, allocations: 35.28 kB / 0.6771 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1758, allocations: 0 / 0.6771 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1758, allocations: 0 / 0.6771 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1758, allocations: 3.938 kB / 0.6771 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1763, allocations: 413.3 kB / 0.6775 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1763, allocations: 0 / 0.6775 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1765, allocations: 27.98 kB / 0.6776 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1765, allocations: 0 / 0.6776 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1765, allocations: 4 kB / 0.6776 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1765, allocations: 0 / 0.6776 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1765, allocations: 7.984 kB / 0.6776 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.1773, allocations: 439.1 kB / 0.678 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1774, allocations: 132.9 kB / 0.6781 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.1774, allocations: 4 kB / 0.6781 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1776, allocations: 15.98 kB / 0.6781 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1776, allocations: 15.92 kB / 0.6782 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1776, allocations: 4 kB / 0.6782 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000264/0.1779, allocations: 235 kB / 0.6784 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1779, allocations: 8 kB / 0.6784 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004062/0.1783, allocations: 91.72 kB / 0.6785 GB, free: 7.895 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.0001252/0.1784, allocations: 103.2 kB / 0.6786 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006389/0.1791, allocations: 265.9 kB / 0.6788 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1791, allocations: 256 / 0.6788 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.1793, allocations: 98.02 kB / 0.6789 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1798, allocations: 74.3 kB / 0.679 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1811, allocations: 0.6024 MB / 0.6796 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.1815, allocations: 0.7753 MB / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.1816, allocations: 23.44 kB / 0.6804 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.1816, allocations: 0 / 0.6804 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of Templates: time 0.00679/0.1884, allocations: 3.999 MB / 0.6843 GB, free: 1.91 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)