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.001095/0.001098, 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.001158/0.001158, allocations: 192.5 kB / 16.14 MB, free: 6.715 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 283 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9849/0.9849, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 87.78 kB / 0.5945 GB, free: 28.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1507, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003846/0.1546, allocations: 2.649 MB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.156, allocations: 0.8728 MB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.1562, allocations: 8 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1564, allocations: 47.59 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.1566, allocations: 47.58 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.157, allocations: 210.7 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.1574, allocations: 415.6 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.1577, allocations: 225.3 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1579, allocations: 103.5 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.158, allocations: 131.1 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.158, allocations: 16 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.1581, allocations: 16 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.1581, allocations: 59.64 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1583, allocations: 159 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.1587, allocations: 0.5724 MB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1588, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1588, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1588, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB 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.0008766/0.1597, allocations: 0.6429 MB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1597, allocations: 16.02 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.1598, allocations: 44.47 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.1602, allocations: 379.2 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1603, allocations: 24.88 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.1603, allocations: 24.38 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.1609, allocations: 325.7 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1609, allocations: 4 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.1609, allocations: 12 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.161, allocations: 4 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.1614, allocations: 242.1 kB / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1629, allocations: 1.174 MB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.1635, allocations: 229.4 kB / 0.6878 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1637, allocations: 104.8 kB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1637, allocations: 0 / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1638, allocations: 30.56 kB / 0.688 GB, free: 8.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1638, allocations: 4 kB / 0.688 GB, free: 8.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006288/0.1644, allocations: 301.2 kB / 0.6882 GB, free: 7.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1645, allocations: 77.11 kB / 0.6883 GB, free: 7.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.1648, allocations: 332.5 kB / 0.6886 GB, free: 7.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1648, allocations: 25.7 kB / 0.6887 GB, free: 7.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.165, allocations: 196.1 kB / 0.6888 GB, free: 7.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.165, allocations: 55.25 kB / 0.6889 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.1651, allocations: 37.7 kB / 0.6889 GB, free: 7.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1652, allocations: 346.8 kB / 0.6893 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1654, allocations: 96.72 kB / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1656, allocations: 112.9 kB / 0.6895 GB, free: 6.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.166, allocations: 196.5 kB / 0.6897 GB, free: 6.457 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.166, allocations: 3.938 kB / 0.6897 GB, free: 6.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004463/0.1664, allocations: 253.1 kB / 0.6899 GB, free: 6.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1665, allocations: 4 kB / 0.6899 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1665, allocations: 3.938 kB / 0.6899 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1665, allocations: 8.062 kB / 0.6899 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1667, allocations: 27.98 kB / 0.6899 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1667, allocations: 0 / 0.6899 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1668, allocations: 27.77 kB / 0.69 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1669, allocations: 11.94 kB / 0.69 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002439/0.1671, allocations: 196.8 kB / 0.6902 GB, free: 5.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.1673, allocations: 105 kB / 0.6903 GB, free: 5.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002556/0.1675, allocations: 169.1 kB / 0.6904 GB, free: 5.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1675, allocations: 0 / 0.6904 GB, free: 5.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000352/0.1679, allocations: 225.2 kB / 0.6906 GB, free: 5.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-06/0.1679, allocations: 4 kB / 0.6906 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1679, allocations: 3.984 kB / 0.6906 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-06/0.1679, allocations: 8.062 kB / 0.6907 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.168, allocations: 23.94 kB / 0.6907 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1681, allocations: 7.984 kB / 0.6907 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1682, allocations: 15.84 kB / 0.6907 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1682, allocations: 7.938 kB / 0.6907 GB, free: 5.34 MB / 494.1 MB 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.0001243/0.1683, allocations: 188.9 kB / 0.6909 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1684, allocations: 31.62 kB / 0.6909 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.1685, allocations: 35.28 kB / 0.691 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1685, allocations: 4 kB / 0.691 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1685, allocations: 0 / 0.691 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.1685, allocations: 11.92 kB / 0.691 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.1689, allocations: 405.3 kB / 0.6914 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1689, allocations: 0 / 0.6914 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.1691, allocations: 31.98 kB / 0.6914 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1691, allocations: 0 / 0.6914 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1691, allocations: 0 / 0.6914 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1691, allocations: 4 kB / 0.6914 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1691, allocations: 0 / 0.6914 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.1698, allocations: 443.2 kB / 0.6918 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1699, allocations: 132.7 kB / 0.6919 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.17, allocations: 11.94 kB / 0.6919 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1701, allocations: 11.98 kB / 0.692 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.1702, allocations: 11.92 kB / 0.692 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1702, allocations: 8.062 kB / 0.692 GB, free: 3.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.1704, allocations: 235.1 kB / 0.6922 GB, free: 3.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1704, allocations: 0 / 0.6922 GB, free: 3.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1708, allocations: 83.69 kB / 0.6923 GB, free: 3.641 MB / 494.1 MB 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.0001067/0.1709, allocations: 107.2 kB / 0.6924 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.1715, allocations: 295.7 kB / 0.6927 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1715, allocations: 0 / 0.6927 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1717, allocations: 95.91 kB / 0.6928 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.1723, allocations: 69.33 kB / 0.6928 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1734, allocations: 0.6662 MB / 0.6935 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1737, allocations: 0.7794 MB / 0.6942 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1739, allocations: 26.28 kB / 0.6943 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1739, allocations: 19.44 kB / 0.6943 GB, free: 1.527 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1739, allocations: 0 / 0.6943 GB, free: 1.527 MB / 494.1 MB Notification: Performance of Templates: time 0.00599/0.1799, allocations: 2.98 MB / 0.6972 GB, free: 14.59 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)