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.0008685/0.0008685, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004757/0.004757, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 262.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.957/0.957, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004546, allocations: 20.61 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1663, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002823/0.1691, allocations: 2.26 MB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1705, allocations: 0.8746 MB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1707, allocations: 6.031 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1709, allocations: 47.59 kB / 0.6882 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.1711, allocations: 48.83 kB / 0.6883 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1715, allocations: 218.7 kB / 0.6885 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.1719, allocations: 400.2 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.1723, allocations: 226.7 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1724, allocations: 84.77 kB / 0.6892 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1725, allocations: 107.2 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1726, allocations: 8 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.1726, allocations: 9.469 kB / 0.6893 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1726, allocations: 39.72 kB / 0.6893 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1728, allocations: 168.7 kB / 0.6895 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.1732, allocations: 0.545 MB / 0.69 GB, free: 10.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1732, allocations: 6.906 kB / 0.69 GB, free: 10.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1732, allocations: 0 / 0.69 GB, free: 10.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1732, allocations: 0 / 0.69 GB, free: 10.02 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.0007907/0.174, allocations: 0.5741 MB / 0.6906 GB, free: 9.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1741, allocations: 9.906 kB / 0.6906 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.1742, allocations: 44.38 kB / 0.6906 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.1747, allocations: 379.3 kB / 0.691 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.1747, allocations: 20.94 kB / 0.691 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.1748, allocations: 24.38 kB / 0.691 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.1754, allocations: 344.8 kB / 0.6914 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1754, allocations: 0 / 0.6914 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.1754, allocations: 14.06 kB / 0.6914 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1754, allocations: 4 kB / 0.6914 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.1759, allocations: 248.4 kB / 0.6916 GB, free: 8.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.1775, allocations: 1.175 MB / 0.6928 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.178, allocations: 254.8 kB / 0.693 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1782, allocations: 100.8 kB / 0.6931 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1783, allocations: 4 kB / 0.6931 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1783, allocations: 38.5 kB / 0.6932 GB, free: 6.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.1783, allocations: 0 / 0.6932 GB, free: 6.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006846/0.179, allocations: 315.4 kB / 0.6935 GB, free: 6.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.179, allocations: 85.11 kB / 0.6935 GB, free: 6.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.1794, allocations: 328.4 kB / 0.6938 GB, free: 5.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.1794, allocations: 29.7 kB / 0.6939 GB, free: 5.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1796, allocations: 200.1 kB / 0.6941 GB, free: 5.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.1796, allocations: 51.25 kB / 0.6941 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1797, allocations: 25.7 kB / 0.6941 GB, free: 5.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1798, allocations: 342.8 kB / 0.6945 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.18, allocations: 83.97 kB / 0.6945 GB, free: 5.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1802, allocations: 133.2 kB / 0.6947 GB, free: 5.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.1806, allocations: 204.3 kB / 0.6949 GB, free: 4.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1806, allocations: 0 / 0.6949 GB, free: 4.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004656/0.1811, allocations: 269.2 kB / 0.6951 GB, free: 4.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.1812, allocations: 112.5 kB / 0.6952 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1812, allocations: 4 kB / 0.6952 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1812, allocations: 3.938 kB / 0.6952 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1814, allocations: 39.98 kB / 0.6953 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1814, allocations: 0 / 0.6953 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1815, allocations: 31.73 kB / 0.6953 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1815, allocations: 4 kB / 0.6953 GB, free: 4.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.1816, allocations: 4 kB / 0.6953 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003173/0.1819, allocations: 171.8 kB / 0.6955 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.1819, allocations: 4.062 kB / 0.6955 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.1819, allocations: 4 kB / 0.6955 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.182, allocations: 31.92 kB / 0.6955 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.182, allocations: 4 kB / 0.6955 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1821, allocations: 15.84 kB / 0.6955 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1822, allocations: 8 kB / 0.6955 GB, free: 4.105 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.0002259/0.1824, allocations: 246.3 kB / 0.6958 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1824, allocations: 31.62 kB / 0.6958 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.1826, allocations: 39.28 kB / 0.6958 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1826, allocations: 3.938 kB / 0.6959 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1826, allocations: 4 kB / 0.6959 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1826, allocations: 0 / 0.6959 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.183, allocations: 409.3 kB / 0.6962 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.183, allocations: 4 kB / 0.6962 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1832, allocations: 23.98 kB / 0.6963 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1832, allocations: 0 / 0.6963 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1832, allocations: 8 kB / 0.6963 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1832, allocations: 0 / 0.6963 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1832, allocations: 4 kB / 0.6963 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.1839, allocations: 465.1 kB / 0.6967 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.184, allocations: 132.7 kB / 0.6969 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1841, allocations: 4 kB / 0.6969 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1842, allocations: 8 kB / 0.6969 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1843, allocations: 11.98 kB / 0.6969 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1843, allocations: 7.984 kB / 0.6969 GB, free: 2.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.1845, allocations: 239.1 kB / 0.6971 GB, free: 2.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1845, allocations: 0 / 0.6971 GB, free: 2.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.1849, allocations: 99.5 kB / 0.6972 GB, free: 2.312 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.0001008/0.1851, allocations: 103.2 kB / 0.6973 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.1857, allocations: 297.6 kB / 0.6976 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1857, allocations: 0 / 0.6976 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.1859, allocations: 99.91 kB / 0.6977 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1865, allocations: 82.23 kB / 0.6978 GB, free: 1.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1875, allocations: 0.6831 MB / 0.6984 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1878, allocations: 0.7755 MB / 0.6992 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1879, allocations: 30.28 kB / 0.6992 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.188, allocations: 19.44 kB / 0.6992 GB, free: 176 kB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.188, allocations: 0 / 0.6992 GB, free: 176 kB / 494.1 MB Notification: Performance of Templates: time 0.006029/0.1941, allocations: 2.937 MB / 0.7021 GB, free: 13.27 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)