Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001357/0.001357, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001319/0.001319, allocations: 193.5 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 282.5 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 95.53 kB / 0.6057 GB, free: 25.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1583, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004063/0.1624, allocations: 2.648 MB / 0.6954 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1639, allocations: 0.8839 MB / 0.6962 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1641, allocations: 8 kB / 0.6962 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1643, allocations: 51.58 kB / 0.6963 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1645, allocations: 48.81 kB / 0.6963 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.165, allocations: 219.9 kB / 0.6965 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.1655, allocations: 403.6 kB / 0.6969 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.1658, allocations: 222.2 kB / 0.6971 GB, free: 392 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.166, allocations: 103.5 kB / 0.6972 GB, free: 288 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1661, allocations: 127.1 kB / 0.6974 GB, free: 160 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.1662, allocations: 19.94 kB / 0.6974 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.1662, allocations: 16 kB / 0.6974 GB, free: 124 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1663, allocations: 59.7 kB / 0.6975 GB, free: 64 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1665, allocations: 159 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.167, allocations: 0.5724 MB / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.167, allocations: 0 / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.12e-07/0.167, allocations: 4 kB / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.167, allocations: 0 / 0.6982 GB, free: 15.33 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.0009878/0.168, allocations: 0.6468 MB / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1681, allocations: 8.031 kB / 0.6988 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.1681, allocations: 40.47 kB / 0.6988 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.1686, allocations: 387.2 kB / 0.6992 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1687, allocations: 20.94 kB / 0.6992 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.1687, allocations: 28.38 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.1694, allocations: 325.7 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1694, allocations: 0 / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.1694, allocations: 8 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1694, allocations: 8 kB / 0.6996 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.17, allocations: 238.1 kB / 0.6998 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.1716, allocations: 1.17 MB / 0.701 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.1721, allocations: 226.9 kB / 0.7012 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1723, allocations: 108.7 kB / 0.7013 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1724, allocations: 4 kB / 0.7013 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1724, allocations: 30.56 kB / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1724, allocations: 0 / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006908/0.1731, allocations: 293.2 kB / 0.7016 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.1732, allocations: 85.11 kB / 0.7017 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1736, allocations: 336.3 kB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1736, allocations: 25.7 kB / 0.702 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1738, allocations: 196.1 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1738, allocations: 47.27 kB / 0.7022 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.1739, allocations: 41.7 kB / 0.7023 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1741, allocations: 342.8 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1743, allocations: 96.7 kB / 0.7027 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1745, allocations: 111.4 kB / 0.7028 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.1749, allocations: 195.7 kB / 0.703 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1749, allocations: 3.938 kB / 0.703 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004995/0.1755, allocations: 251.5 kB / 0.7032 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1755, allocations: 11.94 kB / 0.7033 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1755, allocations: 0 / 0.7033 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1755, allocations: 0 / 0.7033 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1757, allocations: 27.98 kB / 0.7033 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1757, allocations: 12 kB / 0.7033 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1759, allocations: 35.61 kB / 0.7033 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1759, allocations: 4 kB / 0.7033 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002763/0.1762, allocations: 196.1 kB / 0.7035 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001738/0.1763, allocations: 104.7 kB / 0.7036 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002951/0.1766, allocations: 169.2 kB / 0.7038 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.1767, allocations: 0 / 0.7038 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000393/0.1771, allocations: 229.1 kB / 0.704 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.1771, allocations: 4 kB / 0.704 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.1771, allocations: 0 / 0.704 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.1771, allocations: 7.984 kB / 0.704 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1772, allocations: 27.92 kB / 0.704 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.1772, allocations: 4.062 kB / 0.704 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1774, allocations: 19.92 kB / 0.7041 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1774, allocations: 7.938 kB / 0.7041 GB, free: 8.984 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.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 0.000129/0.1775, allocations: 192.9 kB / 0.7043 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.1776, allocations: 31.62 kB / 0.7043 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.1777, allocations: 31.28 kB / 0.7043 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1777, allocations: 0 / 0.7043 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1777, allocations: 0 / 0.7043 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1777, allocations: 3.938 kB / 0.7043 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1782, allocations: 413.3 kB / 0.7047 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1782, allocations: 0 / 0.7047 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1784, allocations: 27.98 kB / 0.7047 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1784, allocations: 0 / 0.7047 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1784, allocations: 0 / 0.7047 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1784, allocations: 0 / 0.7047 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1784, allocations: 4 kB / 0.7047 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.1791, allocations: 444.7 kB / 0.7052 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1793, allocations: 136.7 kB / 0.7053 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1793, allocations: 3.938 kB / 0.7053 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1795, allocations: 12 kB / 0.7053 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1795, allocations: 15.91 kB / 0.7053 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1796, allocations: 4 kB / 0.7053 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002563/0.1798, allocations: 235.1 kB / 0.7056 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1798, allocations: 4.062 kB / 0.7056 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003931/0.1802, allocations: 91.59 kB / 0.7056 GB, free: 7.277 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.1803, allocations: 95.25 kB / 0.7057 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006298/0.181, allocations: 289.9 kB / 0.706 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.181, allocations: 256 / 0.706 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1812, allocations: 99.91 kB / 0.7061 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.1818, allocations: 75 kB / 0.7062 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1829, allocations: 0.6777 MB / 0.7068 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.1834, allocations: 0.7755 MB / 0.7076 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.1835, allocations: 30.27 kB / 0.7076 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.1836, allocations: 23.42 kB / 0.7076 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1836, allocations: 0 / 0.7076 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of Templates: time 0.007036/0.1906, allocations: 2.971 MB / 0.7105 GB, free: 2.238 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)