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.001147/0.001147, allocations: 109.4 kB / 15.69 MB, free: 128 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.001077/0.001077, allocations: 187.2 kB / 16.62 MB, free: 6.613 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.106/1.106, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.458/1.458, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001237/0.001237, allocations: 70.06 kB / 0.6722 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003316/0.1638, allocations: 2.631 MB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.165, allocations: 0.9517 MB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1652, allocations: 8 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1653, allocations: 67.33 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1655, allocations: 67.39 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1659, allocations: 235.1 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.1662, allocations: 467.6 kB / 0.7884 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.1665, allocations: 217.1 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1666, allocations: 151.4 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1668, allocations: 151.2 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.1668, allocations: 48 kB / 0.789 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.1669, allocations: 52 kB / 0.789 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1669, allocations: 87.7 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1671, allocations: 195 kB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.1675, allocations: 0.6269 MB / 0.7899 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1675, allocations: 0 / 0.7899 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1675, allocations: 0 / 0.7899 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1675, allocations: 0 / 0.7899 GB, free: 6.762 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.0007309/0.1682, allocations: 0.6545 MB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.1683, allocations: 12.03 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.1683, allocations: 40.47 kB / 0.7906 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1687, allocations: 403.2 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1688, allocations: 28.92 kB / 0.791 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.1688, allocations: 28.38 kB / 0.791 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.1693, allocations: 325.7 kB / 0.7913 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1693, allocations: 4 kB / 0.7913 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1693, allocations: 16 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1694, allocations: 8 kB / 0.7914 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.1698, allocations: 226.2 kB / 0.7916 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.171, allocations: 1.155 MB / 0.7927 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.1714, allocations: 234.8 kB / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1716, allocations: 96.81 kB / 0.793 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1716, allocations: 7.984 kB / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1716, allocations: 34.56 kB / 0.7931 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.1716, allocations: 0 / 0.7931 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0005467/0.1722, allocations: 301.2 kB / 0.7933 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1722, allocations: 81.11 kB / 0.7934 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.1725, allocations: 333.7 kB / 0.7937 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1725, allocations: 33.7 kB / 0.7938 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1727, allocations: 203.9 kB / 0.794 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1727, allocations: 55.25 kB / 0.794 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.1728, allocations: 41.7 kB / 0.7941 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.1729, allocations: 342.8 kB / 0.7944 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.173, allocations: 88.81 kB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1732, allocations: 119.4 kB / 0.7946 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.1735, allocations: 189.2 kB / 0.7948 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1736, allocations: 0 / 0.7948 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004062/0.174, allocations: 257.1 kB / 0.795 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.174, allocations: 8.062 kB / 0.795 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.174, allocations: 0 / 0.795 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.174, allocations: 4 kB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1742, allocations: 35.92 kB / 0.7951 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1742, allocations: 0 / 0.7951 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1743, allocations: 31.7 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1743, allocations: 8 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002035/0.1745, allocations: 192.1 kB / 0.7953 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001354/0.1747, allocations: 115.2 kB / 0.7954 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002247/0.1749, allocations: 165.1 kB / 0.7955 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.1749, allocations: 0 / 0.7955 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003136/0.1752, allocations: 225.1 kB / 0.7958 GB, free: 464 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.1752, allocations: 8.094 kB / 0.7958 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.1753, allocations: 4 kB / 0.7958 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-06/0.1753, allocations: 0 / 0.7958 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1754, allocations: 27.98 kB / 0.7958 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.1754, allocations: 4 kB / 0.7958 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1755, allocations: 19.92 kB / 0.7958 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1755, allocations: 7.938 kB / 0.7958 GB, free: 392 kB / 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.395e-05/0.1756, allocations: 195 kB / 0.796 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.1757, allocations: 27.62 kB / 0.796 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.1757, allocations: 39.28 kB / 0.7961 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1757, allocations: 4 kB / 0.7961 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1757, allocations: 0 / 0.7961 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1757, allocations: 3.938 kB / 0.7961 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.1761, allocations: 405.3 kB / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1761, allocations: 4 kB / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1763, allocations: 31.86 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1763, allocations: 0 / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1763, allocations: 7.984 kB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1763, allocations: 4 kB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1763, allocations: 4 kB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.1769, allocations: 431 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.177, allocations: 132.7 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.177, allocations: 8 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1772, allocations: 8.047 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1772, allocations: 19.92 kB / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.1772, allocations: 4 kB / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001952/0.1774, allocations: 239.2 kB / 0.7973 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1774, allocations: 4 kB / 0.7973 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003364/0.1778, allocations: 87.59 kB / 0.7974 GB, free: 14.66 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.433e-05/0.1779, allocations: 106.1 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.1784, allocations: 286.7 kB / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1784, allocations: 4 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1786, allocations: 99.89 kB / 0.7979 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.179, allocations: 97.97 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.1798, allocations: 0.5552 MB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1801, allocations: 0.7753 MB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000108/0.1802, allocations: 26.28 kB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.1803, allocations: 27.44 kB / 0.7993 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.1803, allocations: 0 / 0.7993 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.005372/0.1857, allocations: 3.154 MB / 0.8024 GB, free: 9.535 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)