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-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_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.0008668/0.0008669, allocations: 98.38 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.0009076/0.0009077, 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.215/1.215, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8384/0.8384, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002799, allocations: 12 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 82.32 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002667/0.1492, allocations: 2.169 MB / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1504, allocations: 0.8343 MB / 0.5901 GB, free: 88 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1506, allocations: 11.94 kB / 0.5901 GB, free: 76 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.1506, allocations: 27.66 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.151, allocations: 75.77 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1513, allocations: 139.8 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1516, allocations: 256.1 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.1519, allocations: 152.4 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.152, allocations: 87.52 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1521, allocations: 95.34 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1522, allocations: 8 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.442e-05/0.1522, allocations: 8 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1522, allocations: 35.78 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.1523, allocations: 93.45 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1527, allocations: 491 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1527, allocations: 4 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1527, allocations: 0 / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1527, allocations: 0 / 0.5915 GB, free: 14.62 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.0008539/0.1536, allocations: 0.5881 MB / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1536, allocations: 8.031 kB / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.1537, allocations: 39.53 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.1542, allocations: 374.2 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1542, allocations: 24.56 kB / 0.5925 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1543, allocations: 27.94 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.1548, allocations: 325.4 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1549, allocations: 4 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1549, allocations: 12 kB / 0.5929 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1549, allocations: 8 kB / 0.5929 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1554, allocations: 242.1 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1568, allocations: 1.178 MB / 0.5943 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.1573, allocations: 254.8 kB / 0.5945 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1574, allocations: 4 kB / 0.5945 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1574, allocations: 34.5 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1574, allocations: 0 / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006154/0.158, allocations: 320.8 kB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1581, allocations: 85.06 kB / 0.595 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1584, allocations: 324.5 kB / 0.5953 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1584, allocations: 25.7 kB / 0.5953 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1586, allocations: 200.1 kB / 0.5955 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.1586, allocations: 55.19 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.1587, allocations: 8 kB / 0.5955 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1588, allocations: 334.8 kB / 0.5959 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.159, allocations: 83.97 kB / 0.5959 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1592, allocations: 129.6 kB / 0.5961 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1594, allocations: 87.98 kB / 0.5961 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1594, allocations: 8.031 kB / 0.5962 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004181/0.1598, allocations: 263.6 kB / 0.5964 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.1599, allocations: 275 kB / 0.5967 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1599, allocations: 0 / 0.5967 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1599, allocations: 4 kB / 0.5967 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1601, allocations: 35.92 kB / 0.5967 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1601, allocations: 4 kB / 0.5967 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1602, allocations: 31.73 kB / 0.5967 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1602, allocations: 8 kB / 0.5967 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.1603, allocations: 7.953 kB / 0.5968 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002749/0.1605, allocations: 167.9 kB / 0.5969 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.1605, allocations: 3.984 kB / 0.5969 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.1606, allocations: 8.047 kB / 0.5969 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1607, allocations: 28 kB / 0.597 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.1607, allocations: 3.938 kB / 0.597 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1608, allocations: 31.61 kB / 0.597 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1608, allocations: 8 kB / 0.597 GB, free: 8.777 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.0001584/0.161, allocations: 237.1 kB / 0.5972 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.161, allocations: 31.58 kB / 0.5973 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.1611, allocations: 35.28 kB / 0.5973 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1611, allocations: 11.94 kB / 0.5973 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1611, allocations: 0 / 0.5973 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1611, allocations: 0 / 0.5973 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.1615, allocations: 401.4 kB / 0.5977 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1615, allocations: 0 / 0.5977 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.1617, allocations: 35.92 kB / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1617, allocations: 3.984 kB / 0.5977 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1617, allocations: 7.953 kB / 0.5977 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1617, allocations: 0 / 0.5977 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1617, allocations: 4 kB / 0.5977 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.1623, allocations: 453.4 kB / 0.5982 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1624, allocations: 132.6 kB / 0.5983 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.1625, allocations: 0 / 0.5983 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1626, allocations: 23.94 kB / 0.5983 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1627, allocations: 11.92 kB / 0.5983 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1627, allocations: 4 kB / 0.5983 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002017/0.1629, allocations: 231.1 kB / 0.5985 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.1629, allocations: 4.062 kB / 0.5986 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003511/0.1633, allocations: 91.59 kB / 0.5986 GB, free: 6.992 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.501e-05/0.1634, allocations: 95.25 kB / 0.5987 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.1639, allocations: 295.9 kB / 0.599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1639, allocations: 0 / 0.599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.1641, allocations: 103.8 kB / 0.5991 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.1645, allocations: 73.5 kB / 0.5992 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.1654, allocations: 0.6402 MB / 0.5998 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1657, allocations: 0.7833 MB / 0.6006 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1658, allocations: 38.2 kB / 0.6006 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.1659, allocations: 19.44 kB / 0.6006 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1659, allocations: 0 / 0.6006 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of Templates: time 0.00522/0.1711, allocations: 2.854 MB / 0.6034 GB, free: 2.094 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: