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.004684/0.004684, allocations: 99.5 kB / 15.73 MB, free: 6.016 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.001136/0.001136, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 66.52 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 80.92 MB / 0.6646 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003766/0.166, allocations: 2.608 MB / 0.6672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1675, allocations: 0.9077 MB / 0.668 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1676, allocations: 11.94 kB / 0.6681 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1678, allocations: 67.33 kB / 0.6681 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.168, allocations: 63.39 kB / 0.6682 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1685, allocations: 239.6 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.1689, allocations: 451.7 kB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.1692, allocations: 221.1 kB / 0.669 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1694, allocations: 147.4 kB / 0.6692 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1695, allocations: 151.1 kB / 0.6693 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.1696, allocations: 52 kB / 0.6694 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.335e-05/0.1697, allocations: 48 kB / 0.6694 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1698, allocations: 87.7 kB / 0.6695 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1699, allocations: 195 kB / 0.6697 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.1705, allocations: 0.611 MB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1705, allocations: 4 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1705, allocations: 0 / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1705, allocations: 0 / 0.6703 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.0009078/0.1715, allocations: 0.662 MB / 0.6709 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1715, allocations: 13.11 kB / 0.671 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.1716, allocations: 44.66 kB / 0.671 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.1721, allocations: 387.5 kB / 0.6714 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1721, allocations: 28.88 kB / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.1722, allocations: 28.38 kB / 0.6714 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1728, allocations: 329.7 kB / 0.6717 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1728, allocations: 4 kB / 0.6717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.1728, allocations: 12 kB / 0.6718 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1729, allocations: 8 kB / 0.6718 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.1733, allocations: 230.2 kB / 0.672 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1748, allocations: 1.159 MB / 0.6731 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.1753, allocations: 234.8 kB / 0.6733 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1755, allocations: 96.86 kB / 0.6734 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1756, allocations: 4 kB / 0.6734 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1756, allocations: 34.56 kB / 0.6735 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1756, allocations: 0 / 0.6735 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0006631/0.1763, allocations: 304 kB / 0.6738 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1763, allocations: 81.11 kB / 0.6738 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.1767, allocations: 328.5 kB / 0.6741 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1767, allocations: 29.7 kB / 0.6742 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1769, allocations: 204.2 kB / 0.6744 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.1769, allocations: 51.52 kB / 0.6744 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.177, allocations: 45.7 kB / 0.6745 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1771, allocations: 342.8 kB / 0.6748 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1773, allocations: 84.83 kB / 0.6749 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1776, allocations: 123.3 kB / 0.675 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.1779, allocations: 192.2 kB / 0.6752 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1779, allocations: 8 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004769/0.1784, allocations: 251 kB / 0.6754 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1785, allocations: 7.984 kB / 0.6754 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1785, allocations: 8.062 kB / 0.6754 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1785, allocations: 0 / 0.6754 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1787, allocations: 35.92 kB / 0.6755 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1787, allocations: 4 kB / 0.6755 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1788, allocations: 27.77 kB / 0.6755 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.1789, allocations: 8 kB / 0.6755 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002359/0.1791, allocations: 192.1 kB / 0.6757 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001493/0.1793, allocations: 109.8 kB / 0.6758 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002711/0.1795, allocations: 164.3 kB / 0.676 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.1796, allocations: 4 kB / 0.676 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003821/0.1799, allocations: 229.3 kB / 0.6762 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.18, allocations: 8 kB / 0.6762 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.18, allocations: 4.094 kB / 0.6762 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/0.18, allocations: 0 / 0.6762 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1801, allocations: 27.98 kB / 0.6762 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.1801, allocations: 0 / 0.6762 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1802, allocations: 15.95 kB / 0.6762 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.1803, allocations: 7.938 kB / 0.6762 GB, free: 9.598 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.0001153/0.1804, allocations: 196.2 kB / 0.6764 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.1804, allocations: 27.81 kB / 0.6764 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.1805, allocations: 39.28 kB / 0.6765 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1805, allocations: 4 kB / 0.6765 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1805, allocations: 0 / 0.6765 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1806, allocations: 3.938 kB / 0.6765 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.181, allocations: 409.3 kB / 0.6769 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.181, allocations: 3.984 kB / 0.6769 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1812, allocations: 27.92 kB / 0.6769 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1812, allocations: 4 kB / 0.6769 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1812, allocations: 4 kB / 0.6769 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1812, allocations: 0 / 0.6769 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1812, allocations: 0 / 0.6769 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.1819, allocations: 441.2 kB / 0.6773 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.182, allocations: 136.9 kB / 0.6775 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.1821, allocations: 0 / 0.6775 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1822, allocations: 12 kB / 0.6775 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.1823, allocations: 19.98 kB / 0.6775 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1823, allocations: 8 kB / 0.6775 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002257/0.1826, allocations: 235 kB / 0.6777 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1826, allocations: 3.938 kB / 0.6777 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003854/0.183, allocations: 91.72 kB / 0.6778 GB, free: 7.883 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.0001111/0.1831, allocations: 100.5 kB / 0.6779 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.1837, allocations: 283.8 kB / 0.6782 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1837, allocations: 7.938 kB / 0.6782 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.1839, allocations: 94.44 kB / 0.6783 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.1844, allocations: 86.53 kB / 0.6784 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1855, allocations: 0.5656 MB / 0.6789 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1858, allocations: 0.7714 MB / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.1859, allocations: 26.28 kB / 0.6797 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.186, allocations: 19.44 kB / 0.6797 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.186, allocations: 4 kB / 0.6797 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of Templates: time 0.006769/0.1928, allocations: 3.184 MB / 0.6828 GB, free: 2.73 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)