Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001739/0.001739, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 290.8 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9239/0.9239, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 91.69 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1569, allocations: 86.98 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004046/0.161, allocations: 2.938 MB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1622, allocations: 0.6969 MB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1625, allocations: 11.94 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.1628, allocations: 48.33 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1631, allocations: 112.7 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1633, allocations: 47.95 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.1637, allocations: 366.1 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1639, allocations: 110.8 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1641, allocations: 135.5 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1643, allocations: 155.3 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.1644, allocations: 24 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.1645, allocations: 24 kB / 0.6842 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1645, allocations: 51.77 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1647, allocations: 155.3 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.165, allocations: 310.8 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.165, allocations: 11.94 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.165, allocations: 0 / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.165, allocations: 0 / 0.6847 GB, free: 11.92 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008257/0.1658, allocations: 0.5807 MB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1659, allocations: 8.031 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.166, allocations: 36.56 kB / 0.6853 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1662, allocations: 279.7 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1663, allocations: 16.94 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.1663, allocations: 28.38 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1668, allocations: 253.2 kB / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1668, allocations: 3.938 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1668, allocations: 8 kB / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1668, allocations: 8 kB / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.1672, allocations: 194.2 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1686, allocations: 1.281 MB / 0.6873 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.1695, allocations: 270.2 kB / 0.6875 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1696, allocations: 60.84 kB / 0.6876 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1696, allocations: 4 kB / 0.6876 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1697, allocations: 34.56 kB / 0.6876 GB, free: 8.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.1697, allocations: 0 / 0.6876 GB, free: 8.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001121/0.1708, allocations: 0.6495 MB / 0.6883 GB, free: 7.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1709, allocations: 55.34 kB / 0.6883 GB, free: 7.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1711, allocations: 291.2 kB / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1711, allocations: 25.7 kB / 0.6886 GB, free: 7.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1713, allocations: 219.3 kB / 0.6888 GB, free: 7.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1713, allocations: 67.09 kB / 0.6889 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.1714, allocations: 65.61 kB / 0.689 GB, free: 7.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1715, allocations: 342.8 kB / 0.6893 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1717, allocations: 76.34 kB / 0.6894 GB, free: 6.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1719, allocations: 194.2 kB / 0.6895 GB, free: 6.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.173, allocations: 492.7 kB / 0.69 GB, free: 5.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.173, allocations: 3.938 kB / 0.69 GB, free: 5.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000692/0.1737, allocations: 424.7 kB / 0.6904 GB, free: 5.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1737, allocations: 14.28 kB / 0.6904 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1737, allocations: 4 kB / 0.6904 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.174, allocations: 83.39 kB / 0.6905 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.1743, allocations: 79.84 kB / 0.6906 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.1777, allocations: 5.519 MB / 0.696 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.178, allocations: 39.53 kB / 0.696 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.178, allocations: 20 kB / 0.696 GB, free: 15.15 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.1784, allocations: 186 kB / 0.6962 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.1784, allocations: 31.56 kB / 0.6962 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.1785, allocations: 34.3 kB / 0.6963 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1785, allocations: 0 / 0.6963 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1785, allocations: 4 kB / 0.6963 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1785, allocations: 0 / 0.6963 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.1788, allocations: 301.4 kB / 0.6966 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1789, allocations: 3.938 kB / 0.6966 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.1791, allocations: 35.97 kB / 0.6966 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.1793, allocations: 83.33 kB / 0.6967 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1793, allocations: 4 kB / 0.6967 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.1827, allocations: 5.522 MB / 0.7021 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1827, allocations: 0 / 0.7021 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.1833, allocations: 415.7 kB / 0.7025 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.1834, allocations: 104.8 kB / 0.7026 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1835, allocations: 8 kB / 0.7026 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1836, allocations: 19.84 kB / 0.7026 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.1837, allocations: 19.91 kB / 0.7026 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1837, allocations: 4 kB / 0.7026 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000173/0.1839, allocations: 194 kB / 0.7028 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1839, allocations: 0 / 0.7028 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004535/0.1843, allocations: 84 kB / 0.7029 GB, free: 7.453 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.1845, allocations: 111.2 kB / 0.703 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008416/0.1853, allocations: 0.6695 MB / 0.7037 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1853, allocations: 0 / 0.7037 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.1859, allocations: 0.5298 MB / 0.7042 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1863, allocations: 56.73 kB / 0.7042 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1875, allocations: 0.8533 MB / 0.7051 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1878, allocations: 0.7644 MB / 0.7058 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.1879, allocations: 34.97 kB / 0.7058 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.188, allocations: 27.42 kB / 0.7059 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.188, allocations: 0 / 0.7059 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.007867/0.1959, allocations: 3.889 MB / 0.7097 GB, free: 416 kB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)