Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00518/0.00518, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.001173/0.001173, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002067, allocations: 275.2 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 99.83 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1665, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002878/0.1694, allocations: 1.833 MB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1705, allocations: 0.6895 MB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.1706, allocations: 0 / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1708, allocations: 31.77 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.171, allocations: 63.59 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1712, allocations: 63.91 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.1716, allocations: 271.2 kB / 0.7692 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1717, allocations: 61 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1719, allocations: 103.8 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1721, allocations: 119.6 kB / 0.7695 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1721, allocations: 19.94 kB / 0.7695 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.1721, allocations: 20 kB / 0.7695 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.1722, allocations: 55.81 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1723, allocations: 107.6 kB / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1726, allocations: 235.3 kB / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1726, allocations: 0 / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1726, allocations: 0 / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.1726, allocations: 0 / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008275/0.1735, allocations: 0.5394 MB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1735, allocations: 8.031 kB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.1736, allocations: 24.69 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1738, allocations: 220.1 kB / 0.7707 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1738, allocations: 12.38 kB / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.1739, allocations: 20.28 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1742, allocations: 201.7 kB / 0.7709 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1742, allocations: 0 / 0.7709 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1742, allocations: 8 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1743, allocations: 0 / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.1745, allocations: 124.5 kB / 0.771 GB, free: 3.512 MB / 0.5606 GB 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.001058/0.1755, allocations: 0.9979 MB / 0.772 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.1763, allocations: 214.3 kB / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1764, allocations: 68.81 kB / 0.7723 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1764, allocations: 4 kB / 0.7723 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.1764, allocations: 30.56 kB / 0.7723 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1764, allocations: 0 / 0.7723 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004672/0.1769, allocations: 233.4 kB / 0.7725 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.177, allocations: 59.34 kB / 0.7726 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1772, allocations: 215.1 kB / 0.7728 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1772, allocations: 29.7 kB / 0.7728 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.1773, allocations: 140.1 kB / 0.773 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1773, allocations: 35.55 kB / 0.773 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.1774, allocations: 57.61 kB / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1775, allocations: 330.8 kB / 0.7734 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1777, allocations: 159.9 kB / 0.7735 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.178, allocations: 203.5 kB / 0.7737 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3412/0.5192, allocations: 0.8922 MB / 0.7746 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5193, allocations: 0.625 kB / 0.7746 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007919/0.5201, allocations: 0.5014 MB / 0.7751 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/0.5202, allocations: 66.58 kB / 0.7751 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5202, allocations: 2 kB / 0.7751 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5202, allocations: 7.438 kB / 0.7751 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.5205, allocations: 45.64 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5205, allocations: 6.062 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5207, allocations: 33.59 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.5207, allocations: 7.469 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0002125/0.5209, allocations: 178.3 kB / 0.7754 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.521, allocations: 12.81 kB / 0.7754 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.521, allocations: 22.83 kB / 0.7754 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.521, allocations: 2.859 kB / 0.7754 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5211, allocations: 0.5625 kB / 0.7754 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5211, allocations: 1.984 kB / 0.7754 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.5213, allocations: 230.8 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5213, allocations: 4.078 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.5215, allocations: 35.84 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.5216, allocations: 5.141 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.5216, allocations: 3.422 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5216, allocations: 1.281 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5216, allocations: 0.5625 kB / 0.7757 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.5221, allocations: 350.6 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.5221, allocations: 95.77 kB / 0.7761 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.5222, allocations: 4.172 kB / 0.7761 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5223, allocations: 6.938 kB / 0.7761 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.5224, allocations: 5.969 kB / 0.7762 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.5224, allocations: 10.52 kB / 0.7762 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001254/0.5225, allocations: 160.8 kB / 0.7763 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5225, allocations: 0 / 0.7763 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003168/0.5228, allocations: 59.88 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.931e-05/0.5229, allocations: 99.14 kB / 0.7765 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007782/0.5237, allocations: 0.612 MB / 0.7771 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5237, allocations: 0 / 0.7771 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.5239, allocations: 70.41 kB / 0.7771 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.5242, allocations: 30.83 kB / 0.7772 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.5254, allocations: 0.6902 MB / 0.7778 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.5256, allocations: 0.7352 MB / 0.7786 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.5257, allocations: 40.69 kB / 0.7786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.5257, allocations: 13.92 kB / 0.7786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5257, allocations: 4.688 kB / 0.7786 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.005187/0.5309, allocations: 2.424 MB / 0.781 GB, free: 12.76 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)