Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.471/1.471, allocations: 292.3 MB / 0.5489 GB, free: 13.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 73.53 kB / 0.6715 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1579, allocations: 114.5 MB / 0.7834 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003311/0.1613, allocations: 2.625 MB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1625, allocations: 0.9554 MB / 0.7869 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1626, allocations: 11.94 kB / 0.7869 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1628, allocations: 63.39 kB / 0.7869 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1629, allocations: 67.34 kB / 0.787 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1633, allocations: 235.2 kB / 0.7872 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.1637, allocations: 467.6 kB / 0.7877 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.164, allocations: 225.4 kB / 0.7879 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1641, allocations: 143.4 kB / 0.788 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1642, allocations: 155.2 kB / 0.7882 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.1643, allocations: 48 kB / 0.7882 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.1643, allocations: 52 kB / 0.7883 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1644, allocations: 91.66 kB / 0.7883 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1645, allocations: 187 kB / 0.7885 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.1649, allocations: 0.5998 MB / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1649, allocations: 0 / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1649, allocations: 0 / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1649, allocations: 0 / 0.7891 GB, free: 7.715 MB / 0.6075 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.0007308/0.1657, allocations: 0.6623 MB / 0.7898 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.1657, allocations: 12.03 kB / 0.7898 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.1658, allocations: 40.47 kB / 0.7898 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1661, allocations: 391.2 kB / 0.7902 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1662, allocations: 24.94 kB / 0.7902 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.1662, allocations: 24.38 kB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.1667, allocations: 333.7 kB / 0.7905 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1667, allocations: 3.938 kB / 0.7905 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1667, allocations: 12 kB / 0.7906 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1667, allocations: 4 kB / 0.7906 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1671, allocations: 230.2 kB / 0.7908 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1683, allocations: 1.17 MB / 0.7919 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.1688, allocations: 230.8 kB / 0.7921 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.169, allocations: 100.8 kB / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.169, allocations: 3.984 kB / 0.7922 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.169, allocations: 42.56 kB / 0.7923 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.169, allocations: 3.938 kB / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0005525/0.1696, allocations: 296.3 kB / 0.7926 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1696, allocations: 77.11 kB / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1699, allocations: 345.6 kB / 0.793 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1699, allocations: 25.7 kB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.17, allocations: 208 kB / 0.7932 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.1701, allocations: 47.27 kB / 0.7932 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.1701, allocations: 41.7 kB / 0.7933 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.1702, allocations: 342.8 kB / 0.7936 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1704, allocations: 88.83 kB / 0.7937 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1706, allocations: 125.9 kB / 0.7938 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.1709, allocations: 189.1 kB / 0.794 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1709, allocations: 0 / 0.794 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003972/0.1713, allocations: 261.1 kB / 0.7942 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1713, allocations: 7.938 kB / 0.7943 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1714, allocations: 0 / 0.7943 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.1714, allocations: 0 / 0.7943 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1715, allocations: 35.98 kB / 0.7943 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1715, allocations: 3.938 kB / 0.7943 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1717, allocations: 27.7 kB / 0.7943 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1717, allocations: 8 kB / 0.7943 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001979/0.1719, allocations: 204.8 kB / 0.7945 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001315/0.172, allocations: 103.3 kB / 0.7946 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002235/0.1723, allocations: 161.5 kB / 0.7948 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.1723, allocations: 0 / 0.7948 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003185/0.1726, allocations: 233.2 kB / 0.795 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.1726, allocations: 4 kB / 0.795 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.1726, allocations: 4 kB / 0.795 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.1726, allocations: 0 / 0.795 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1727, allocations: 27.98 kB / 0.795 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.1727, allocations: 4 kB / 0.795 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1728, allocations: 7.938 kB / 0.795 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1729, allocations: 11.94 kB / 0.7951 GB, free: 1.336 MB / 0.6075 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 8.401e-05/0.173, allocations: 196.2 kB / 0.7952 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.173, allocations: 31.62 kB / 0.7953 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.1731, allocations: 35.28 kB / 0.7953 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1731, allocations: 7.938 kB / 0.7953 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1731, allocations: 0 / 0.7953 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1731, allocations: 7.922 kB / 0.7953 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.1734, allocations: 405.3 kB / 0.7957 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1734, allocations: 0 / 0.7957 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1736, allocations: 27.92 kB / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1736, allocations: 8 kB / 0.7957 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1736, allocations: 4 kB / 0.7957 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1736, allocations: 0 / 0.7957 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1736, allocations: 0 / 0.7957 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.1742, allocations: 435 kB / 0.7962 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1743, allocations: 132.8 kB / 0.7963 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.1744, allocations: 12.06 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1745, allocations: 11.98 kB / 0.7963 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1746, allocations: 15.92 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1746, allocations: 4 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001899/0.1748, allocations: 239.2 kB / 0.7966 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1748, allocations: 0 / 0.7966 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003399/0.1751, allocations: 87.59 kB / 0.7966 GB, free: 15.61 MB / 0.6231 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 8.182e-05/0.1752, allocations: 115.2 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.1757, allocations: 290.5 kB / 0.797 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1757, allocations: 0 / 0.797 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1759, allocations: 95.91 kB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1764, allocations: 93.34 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.1772, allocations: 0.563 MB / 0.7978 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1775, allocations: 0.7753 MB / 0.7985 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.1776, allocations: 34.27 kB / 0.7985 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.1776, allocations: 19.44 kB / 0.7986 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.1776, allocations: 0 / 0.7986 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.005351/0.183, allocations: 3.164 MB / 0.8017 GB, free: 10.46 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)