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.0008046/0.0008047, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.0008601/0.0008602, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8656/0.8656, allocations: 135.2 MB / 426.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002801, allocations: 8 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002642/0.1485, allocations: 2.173 MB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1497, allocations: 0.8382 MB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1498, allocations: 11.94 kB / 0.5901 GB, free: 104 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.1499, allocations: 23.72 kB / 0.5902 GB, free: 80 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.1502, allocations: 79.69 kB / 0.5902 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1505, allocations: 139.8 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1508, allocations: 248.2 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.1511, allocations: 152.4 kB / 0.5908 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.501e-05/0.1512, allocations: 91.44 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1513, allocations: 87.38 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1513, allocations: 12 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.1514, allocations: 8 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.1514, allocations: 43.77 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.1515, allocations: 85.52 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.1518, allocations: 498.9 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1519, allocations: 0 / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1519, allocations: 4 kB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.1519, allocations: 0 / 0.5916 GB, free: 14.65 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.0007241/0.1526, allocations: 0.5765 MB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.1526, allocations: 11.97 kB / 0.5921 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.1527, allocations: 39.53 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1531, allocations: 378.1 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1531, allocations: 20.56 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.1532, allocations: 27.98 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.1537, allocations: 329.4 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.1537, allocations: 0 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.1537, allocations: 12 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1538, allocations: 8 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.1542, allocations: 246.1 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1555, allocations: 1.186 MB / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.1561, allocations: 246.8 kB / 0.5945 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1561, allocations: 4 kB / 0.5945 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1561, allocations: 38.56 kB / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.1561, allocations: 0 / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006012/0.1567, allocations: 320.6 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1568, allocations: 81.06 kB / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1571, allocations: 328.5 kB / 0.5953 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1571, allocations: 33.69 kB / 0.5953 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1572, allocations: 192.2 kB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1573, allocations: 51.2 kB / 0.5955 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.1573, allocations: 4 kB / 0.5955 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1574, allocations: 342.8 kB / 0.5959 GB, free: 10 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.1576, allocations: 83.97 kB / 0.5959 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1578, allocations: 125.5 kB / 0.5961 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.158, allocations: 91.91 kB / 0.5962 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.158, allocations: 4 kB / 0.5962 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004183/0.1584, allocations: 267.5 kB / 0.5964 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.1585, allocations: 275 kB / 0.5967 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1585, allocations: 0 / 0.5967 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1585, allocations: 4 kB / 0.5967 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1587, allocations: 27.98 kB / 0.5967 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1587, allocations: 11.92 kB / 0.5967 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1588, allocations: 27.75 kB / 0.5967 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1589, allocations: 8 kB / 0.5967 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/0.1589, allocations: 7.953 kB / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002776/0.1592, allocations: 175.9 kB / 0.5969 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.1592, allocations: 0 / 0.5969 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.1592, allocations: 0 / 0.5969 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1593, allocations: 27.98 kB / 0.5969 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.1593, allocations: 0 / 0.5969 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/0.1594, allocations: 31.75 kB / 0.597 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1594, allocations: 7.938 kB / 0.597 GB, free: 8.816 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.1596, allocations: 237.1 kB / 0.5972 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.1596, allocations: 39.52 kB / 0.5973 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.1597, allocations: 35.28 kB / 0.5973 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1597, allocations: 4 kB / 0.5973 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1597, allocations: 3.984 kB / 0.5973 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1597, allocations: 0 / 0.5973 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.1601, allocations: 401.4 kB / 0.5977 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1601, allocations: 4 kB / 0.5977 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1603, allocations: 35.92 kB / 0.5977 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1603, allocations: 0 / 0.5977 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1603, allocations: 7.953 kB / 0.5977 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1603, allocations: 0 / 0.5977 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1603, allocations: 0 / 0.5977 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.1609, allocations: 453.4 kB / 0.5982 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1611, allocations: 132.7 kB / 0.5983 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.1611, allocations: 4 kB / 0.5983 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1612, allocations: 24 kB / 0.5983 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1613, allocations: 11.98 kB / 0.5983 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1613, allocations: 4 kB / 0.5983 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001991/0.1615, allocations: 227.1 kB / 0.5985 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1615, allocations: 0 / 0.5985 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003589/0.1619, allocations: 91.59 kB / 0.5986 GB, free: 7.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.884e-05/0.162, allocations: 107.2 kB / 0.5987 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.1625, allocations: 291.8 kB / 0.599 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1625, allocations: 4.25 kB / 0.599 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.1627, allocations: 103.8 kB / 0.5991 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1631, allocations: 73.36 kB / 0.5992 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.164, allocations: 0.6441 MB / 0.5998 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1643, allocations: 0.7833 MB / 0.6006 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.1644, allocations: 30.22 kB / 0.6006 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.1645, allocations: 23.44 kB / 0.6006 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1645, allocations: 0 / 0.6006 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.005251/0.1697, allocations: 2.853 MB / 0.6034 GB, free: 2.125 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: