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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001569/0.001569, allocations: 199 kB / 16.14 MB, free: 6.645 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 63.23 kB / 0.5047 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.157, allocations: 80.93 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003965/0.161, allocations: 2.63 MB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1625, allocations: 0.8768 MB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.1629, allocations: 11.94 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.1631, allocations: 43.64 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1633, allocations: 51.59 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1638, allocations: 215 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.1642, allocations: 411.6 kB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.1646, allocations: 221.1 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1647, allocations: 107.3 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1649, allocations: 131.2 kB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.165, allocations: 16 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.832e-05/0.165, allocations: 16 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.1651, allocations: 55.7 kB / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.1652, allocations: 155 kB / 0.5885 GB, free: 88 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1657, allocations: 0.5765 MB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1657, allocations: 0 / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1658, allocations: 0 / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.1658, allocations: 0 / 0.5891 GB, free: 15.51 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.001152/0.1669, allocations: 0.6468 MB / 0.5897 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.167, allocations: 8.031 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.1671, allocations: 44.38 kB / 0.5898 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.1676, allocations: 383.3 kB / 0.5901 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.1676, allocations: 20.94 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.1677, allocations: 24.38 kB / 0.5902 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.1683, allocations: 333.7 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1683, allocations: 0 / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.1684, allocations: 15.98 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1684, allocations: 4 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.1689, allocations: 234.1 kB / 0.5907 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.1704, allocations: 1.174 MB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1709, allocations: 226.8 kB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1711, allocations: 100.8 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1711, allocations: 0 / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1712, allocations: 38.55 kB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.1712, allocations: 4 kB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006796/0.1719, allocations: 296.4 kB / 0.5925 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1719, allocations: 81.09 kB / 0.5926 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.1724, allocations: 336.3 kB / 0.5929 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1724, allocations: 25.7 kB / 0.5929 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1726, allocations: 200.1 kB / 0.5931 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.1726, allocations: 55.2 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.1727, allocations: 41.69 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1729, allocations: 338.8 kB / 0.5935 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1731, allocations: 88.83 kB / 0.5936 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.1733, allocations: 123.3 kB / 0.5937 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.1737, allocations: 190.4 kB / 0.5939 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1737, allocations: 0 / 0.5939 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004849/0.1742, allocations: 257.2 kB / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1743, allocations: 6.5 kB / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1743, allocations: 0 / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1743, allocations: 4 kB / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.1745, allocations: 27.98 kB / 0.5942 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1745, allocations: 7.969 kB / 0.5942 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1747, allocations: 31.62 kB / 0.5942 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1747, allocations: 8 kB / 0.5942 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002653/0.175, allocations: 200.2 kB / 0.5944 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001715/0.1752, allocations: 109.2 kB / 0.5945 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002837/0.1755, allocations: 158.6 kB / 0.5947 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.1755, allocations: 0 / 0.5947 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004071/0.1759, allocations: 234.6 kB / 0.5949 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1759, allocations: 4 kB / 0.5949 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1759, allocations: 0 / 0.5949 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.1759, allocations: 7.938 kB / 0.5949 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1761, allocations: 27.92 kB / 0.595 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1761, allocations: 4 kB / 0.595 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1762, allocations: 15.84 kB / 0.595 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1762, allocations: 7.938 kB / 0.595 GB, free: 9.16 MB / 0.4981 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.0001357/0.1764, allocations: 192.3 kB / 0.5952 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.1764, allocations: 27.72 kB / 0.5952 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.1765, allocations: 35.28 kB / 0.5952 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1765, allocations: 3.984 kB / 0.5952 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1765, allocations: 0 / 0.5952 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1765, allocations: 7.938 kB / 0.5952 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.177, allocations: 405.3 kB / 0.5956 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.177, allocations: 0 / 0.5956 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.1772, allocations: 27.98 kB / 0.5956 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1772, allocations: 4 kB / 0.5957 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1772, allocations: 0 / 0.5957 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1772, allocations: 4 kB / 0.5957 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1772, allocations: 0 / 0.5957 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.1779, allocations: 438.9 kB / 0.5961 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1781, allocations: 132.7 kB / 0.5962 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.1781, allocations: 12.06 kB / 0.5962 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1783, allocations: 11.98 kB / 0.5962 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.1783, allocations: 15.92 kB / 0.5962 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1783, allocations: 4 kB / 0.5962 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002317/0.1786, allocations: 235.1 kB / 0.5965 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1786, allocations: 0 / 0.5965 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000385/0.179, allocations: 87.59 kB / 0.5965 GB, free: 7.457 MB / 0.4981 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.0001262/0.1791, allocations: 111.2 kB / 0.5967 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.1797, allocations: 278.3 kB / 0.5969 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1797, allocations: 0 / 0.5969 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1799, allocations: 99.84 kB / 0.597 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.1805, allocations: 83.59 kB / 0.5971 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1816, allocations: 0.662 MB / 0.5977 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1819, allocations: 0.7755 MB / 0.5985 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.182, allocations: 30.28 kB / 0.5985 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1821, allocations: 19.44 kB / 0.5985 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1821, allocations: 0 / 0.5985 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.006114/0.1882, allocations: 2.98 MB / 0.6015 GB, free: 2.418 MB / 0.4981 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)