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.00564/0.00564, allocations: 98.66 kB / 15.73 MB, free: 5.984 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.001175/0.001175, allocations: 196.1 kB / 16.68 MB, free: 5.918 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 279 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9524/0.9524, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 91.84 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1675, allocations: 86.97 MB / 0.7663 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.00274/0.1703, allocations: 1.846 MB / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1713, allocations: 0.6895 MB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.1714, allocations: 4 kB / 0.7688 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.1717, allocations: 27.77 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1719, allocations: 59.61 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1721, allocations: 71.89 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1724, allocations: 275.2 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1726, allocations: 61 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1727, allocations: 103.8 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1729, allocations: 111.6 kB / 0.7695 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.1729, allocations: 20 kB / 0.7695 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.173, allocations: 16 kB / 0.7695 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.173, allocations: 59.81 kB / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1732, allocations: 95.59 kB / 0.7697 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1734, allocations: 239.3 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1734, allocations: 0 / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1734, allocations: 4 kB / 0.7699 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1734, allocations: 0 / 0.7699 GB, free: 4.785 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.0007738/0.1742, allocations: 0.5355 MB / 0.7704 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1743, allocations: 19.95 kB / 0.7705 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1743, allocations: 20.75 kB / 0.7705 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1745, allocations: 216.1 kB / 0.7707 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1746, allocations: 12.38 kB / 0.7707 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.1746, allocations: 16.28 kB / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.175, allocations: 201.7 kB / 0.7709 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.175, allocations: 0 / 0.7709 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.175, allocations: 8 kB / 0.7709 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.175, allocations: 11.94 kB / 0.7709 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.1752, allocations: 120.1 kB / 0.771 GB, free: 3.531 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.00108/0.1763, allocations: 0.9979 MB / 0.772 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.177, allocations: 210.3 kB / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1772, allocations: 76.95 kB / 0.7723 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1772, allocations: 3.984 kB / 0.7723 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1772, allocations: 34.56 kB / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1772, allocations: 0 / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004515/0.1777, allocations: 233.3 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1777, allocations: 51.41 kB / 0.7726 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1779, allocations: 219.1 kB / 0.7728 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1779, allocations: 25.7 kB / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.178, allocations: 143.9 kB / 0.773 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.178, allocations: 35.55 kB / 0.773 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.1781, allocations: 61.59 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1782, allocations: 326.8 kB / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.1785, allocations: 155.9 kB / 0.7735 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.1787, allocations: 206.2 kB / 0.7737 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3409/0.5196, allocations: 0.8882 MB / 0.7746 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5197, allocations: 0.6875 kB / 0.7746 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007725/0.5204, allocations: 0.5026 MB / 0.7751 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.5205, allocations: 63.19 kB / 0.7751 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5205, allocations: 1.781 kB / 0.7751 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5206, allocations: 4.156 kB / 0.7751 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.5208, allocations: 49.48 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5208, allocations: 1.875 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.521, allocations: 37.44 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.521, allocations: 8.156 kB / 0.7752 GB, free: 14.66 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.0001999/0.5212, allocations: 180.1 kB / 0.7754 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.5213, allocations: 12.25 kB / 0.7754 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.5213, allocations: 20.19 kB / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5213, allocations: 5.359 kB / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5214, allocations: 0 / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5214, allocations: 1.703 kB / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.5216, allocations: 230.9 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.5216, allocations: 0 / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.5218, allocations: 36.91 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5218, allocations: 3.531 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5219, allocations: 3.188 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5219, allocations: 0.7188 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5219, allocations: 0.5625 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.5224, allocations: 355.7 kB / 0.776 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.5224, allocations: 93.55 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.5224, allocations: 3.828 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5226, allocations: 7.562 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5226, allocations: 8.5 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5226, allocations: 6.188 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001388/0.5228, allocations: 161 kB / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5228, allocations: 0 / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003136/0.5231, allocations: 58.16 kB / 0.7764 GB, free: 14.05 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.237e-05/0.5232, allocations: 105.6 kB / 0.7765 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007229/0.5239, allocations: 0.6141 MB / 0.7771 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5239, allocations: 0.7188 kB / 0.7771 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.5241, allocations: 71.02 kB / 0.7771 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.5244, allocations: 32.2 kB / 0.7772 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5255, allocations: 0.6849 MB / 0.7778 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.5256, allocations: 0.74 MB / 0.7786 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.5258, allocations: 40.09 kB / 0.7786 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.5258, allocations: 14.31 kB / 0.7786 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5258, allocations: 0 / 0.7786 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.005191/0.531, allocations: 2.471 MB / 0.781 GB, free: 12.54 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)