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.0009041/0.0009042, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009495/0.0009495, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.125/1.125, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.454/1.454, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.00117/0.00117, allocations: 69.61 kB / 0.671 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1654, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003284/0.1687, allocations: 2.666 MB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1699, allocations: 0.9359 MB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.17, allocations: 8 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.1702, allocations: 47.59 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1704, allocations: 51.58 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1707, allocations: 211.9 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1711, allocations: 467.6 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.1713, allocations: 221.4 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1715, allocations: 151.3 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1716, allocations: 143.2 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.1716, allocations: 52 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.1717, allocations: 48 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1718, allocations: 99.64 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1719, allocations: 191 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.1723, allocations: 0.6037 MB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1723, allocations: 0 / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1723, allocations: 0 / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1723, allocations: 0 / 0.7886 GB, free: 8.031 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.0007279/0.173, allocations: 0.6545 MB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.173, allocations: 8.031 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.1731, allocations: 40.47 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1735, allocations: 395.2 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.1735, allocations: 20.94 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1735, allocations: 28.38 kB / 0.7897 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.174, allocations: 333.7 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1741, allocations: 3.938 kB / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1741, allocations: 8 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1741, allocations: 8 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.1745, allocations: 230.2 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1757, allocations: 1.17 MB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.1761, allocations: 242.8 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1763, allocations: 96.77 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1763, allocations: 4 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1763, allocations: 38.5 kB / 0.7917 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1763, allocations: 0 / 0.7917 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0005421/0.1769, allocations: 297.2 kB / 0.792 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1769, allocations: 85.11 kB / 0.7921 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1772, allocations: 337.6 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1772, allocations: 29.7 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1773, allocations: 200 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1774, allocations: 47.27 kB / 0.7927 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.1775, allocations: 45.7 kB / 0.7927 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.1776, allocations: 342.8 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1777, allocations: 84.83 kB / 0.7931 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1779, allocations: 123.3 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1782, allocations: 189.6 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1782, allocations: 4 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003826/0.1786, allocations: 249.1 kB / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.1786, allocations: 4 kB / 0.7937 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1786, allocations: 8.062 kB / 0.7937 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1786, allocations: 0 / 0.7937 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1788, allocations: 31.98 kB / 0.7937 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1788, allocations: 7.938 kB / 0.7937 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1789, allocations: 27.7 kB / 0.7938 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.179, allocations: 8 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001967/0.1792, allocations: 200.1 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001299/0.1793, allocations: 103.3 kB / 0.7941 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002147/0.1795, allocations: 161.2 kB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.1795, allocations: 0 / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003002/0.1798, allocations: 233.1 kB / 0.7944 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.1798, allocations: 4 kB / 0.7944 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.1799, allocations: 4.094 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.1799, allocations: 4 kB / 0.7944 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.18, allocations: 27.98 kB / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.18, allocations: 0 / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1801, allocations: 19.86 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1801, allocations: 11.94 kB / 0.7945 GB, free: 1.652 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.334e-05/0.1802, allocations: 188.2 kB / 0.7947 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.1803, allocations: 31.62 kB / 0.7947 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.1803, allocations: 39.28 kB / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1803, allocations: 0 / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1803, allocations: 0 / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1803, allocations: 7.922 kB / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.1807, allocations: 409.3 kB / 0.7951 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1807, allocations: 0 / 0.7951 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1808, allocations: 27.92 kB / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1809, allocations: 0 / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1809, allocations: 7.938 kB / 0.7952 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1809, allocations: 8 kB / 0.7952 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1809, allocations: 0 / 0.7952 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.1814, allocations: 442.3 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.1816, allocations: 128.7 kB / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1816, allocations: 8 kB / 0.7957 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1817, allocations: 7.984 kB / 0.7957 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1818, allocations: 19.98 kB / 0.7958 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1818, allocations: 4 kB / 0.7958 GB, free: 264 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001862/0.182, allocations: 243.2 kB / 0.796 GB, free: 24 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.182, allocations: 0 / 0.796 GB, free: 24 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003467/0.1823, allocations: 91.64 kB / 0.7961 GB, free: 15.93 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 7.946e-05/0.1824, allocations: 103.1 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.1829, allocations: 295.8 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1829, allocations: 0 / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1831, allocations: 95.91 kB / 0.7966 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.1836, allocations: 94.42 kB / 0.7966 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.1844, allocations: 0.6753 MB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1847, allocations: 0.783 MB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.1848, allocations: 30.27 kB / 0.7981 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.1849, allocations: 27.44 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.1849, allocations: 0 / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.005436/0.1903, allocations: 3.098 MB / 0.8012 GB, free: 10.73 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)