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.0008021/0.0008021, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.000852/0.000852, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 274.4 kB / 291.4 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 13.22 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 88.54 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.001778/0.1411, allocations: 1.514 MB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.142, allocations: 0.6321 MB / 0.6866 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.1421, allocations: 0 / 0.6866 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1423, allocations: 32.27 kB / 0.6866 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1425, allocations: 64.14 kB / 0.6867 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1426, allocations: 44.45 kB / 0.6867 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1429, allocations: 256.5 kB / 0.6869 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1431, allocations: 38.38 kB / 0.687 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1432, allocations: 95.73 kB / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1434, allocations: 108.8 kB / 0.6872 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.1434, allocations: 12 kB / 0.6872 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.883e-05/0.1435, allocations: 8 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.1435, allocations: 44.45 kB / 0.6872 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.1436, allocations: 59.02 kB / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1438, allocations: 183.7 kB / 0.6875 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1438, allocations: 0 / 0.6875 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1438, allocations: 0 / 0.6875 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1438, allocations: 0.8438 kB / 0.6875 GB, free: 12.43 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007177/0.1445, allocations: 0.5107 MB / 0.688 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1445, allocations: 8.031 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1446, allocations: 20.45 kB / 0.688 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1448, allocations: 224 kB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1449, allocations: 14.41 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.1449, allocations: 16 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1453, allocations: 201.1 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1453, allocations: 2.062 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1453, allocations: 4 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.1453, allocations: 7.984 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.1456, allocations: 125.2 kB / 0.6886 GB, free: 11.21 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.001051/0.1466, allocations: 1.019 MB / 0.6896 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.1473, allocations: 210.4 kB / 0.6898 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1475, allocations: 80.73 kB / 0.6898 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1475, allocations: 0 / 0.6898 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1475, allocations: 34.56 kB / 0.6899 GB, free: 9.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1475, allocations: 0 / 0.6899 GB, free: 9.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004591/0.148, allocations: 237.6 kB / 0.6901 GB, free: 9.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.148, allocations: 51.41 kB / 0.6901 GB, free: 9.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1482, allocations: 226.8 kB / 0.6904 GB, free: 9.191 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1483, allocations: 29.7 kB / 0.6904 GB, free: 9.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.1484, allocations: 136 kB / 0.6905 GB, free: 9.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1484, allocations: 39.45 kB / 0.6906 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.1484, allocations: 8 kB / 0.6906 GB, free: 8.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1485, allocations: 326.8 kB / 0.6909 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.1488, allocations: 167.8 kB / 0.691 GB, free: 8.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.149, allocations: 208.1 kB / 0.6912 GB, free: 8.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.1494, allocations: 249.5 kB / 0.6915 GB, free: 8.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1494, allocations: 0 / 0.6915 GB, free: 8.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007017/0.1501, allocations: 0.5039 MB / 0.692 GB, free: 7.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.1502, allocations: 67.84 kB / 0.692 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1502, allocations: 4 kB / 0.692 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1502, allocations: 0 / 0.692 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1504, allocations: 47.92 kB / 0.6921 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1504, allocations: 7.984 kB / 0.6921 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1506, allocations: 39.53 kB / 0.6921 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1507, allocations: 11.95 kB / 0.6921 GB, free: 7.316 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: body.T[5]:VARIABLE(min = max(0.0, 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 = max(0.0, 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 = max(0.0, 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 = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[1]:VARIABLE(min = max(0.0, 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.1509, allocations: 187.8 kB / 0.6923 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.151, allocations: 15.81 kB / 0.6923 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.151, allocations: 21.41 kB / 0.6923 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.151, allocations: 0 / 0.6923 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.151, allocations: 0 / 0.6923 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.151, allocations: 0 / 0.6923 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1513, allocations: 233.5 kB / 0.6926 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1513, allocations: 0 / 0.6926 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.1515, allocations: 31.98 kB / 0.6926 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1516, allocations: 8 kB / 0.6926 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1516, allocations: 0 / 0.6926 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.1516, allocations: 3.984 kB / 0.6926 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1516, allocations: 0 / 0.6926 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.1521, allocations: 359.1 kB / 0.693 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1521, allocations: 100.8 kB / 0.6931 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.1522, allocations: 7.938 kB / 0.6931 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1523, allocations: 7.906 kB / 0.6931 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1523, allocations: 8.047 kB / 0.6931 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1523, allocations: 4 kB / 0.6931 GB, free: 6.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1525, allocations: 152.4 kB / 0.6932 GB, free: 6.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1525, allocations: 4 kB / 0.6932 GB, free: 6.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1528, allocations: 56 kB / 0.6933 GB, free: 6.051 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.119e-05/0.1529, allocations: 99.25 kB / 0.6934 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.1536, allocations: 0.6201 MB / 0.694 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1536, allocations: 0 / 0.694 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1537, allocations: 67.95 kB / 0.694 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1541, allocations: 44.19 kB / 0.6941 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1552, allocations: 0.8278 MB / 0.6949 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1555, allocations: 0.74 MB / 0.6956 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1557, allocations: 40.61 kB / 0.6957 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.1557, allocations: 15.44 kB / 0.6957 GB, free: 3.523 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1557, allocations: 0 / 0.6957 GB, free: 3.523 MB / 494.1 MB Notification: Performance of Templates: time 0.004722/0.1605, allocations: 2.15 MB / 0.6978 GB, free: 1.398 MB / 494.1 MB 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)