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.001283/0.001283, allocations: 106.4 kB / 16.37 MB, free: 6.434 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.001246/0.001246, allocations: 189.1 kB / 17.3 MB, free: 5.773 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 270.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9042/0.9042, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 95.66 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002699/0.1448, allocations: 1.845 MB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.1457, allocations: 0.6817 MB / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1458, allocations: 4 kB / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.146, allocations: 35.77 kB / 0.6841 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1462, allocations: 59.61 kB / 0.6842 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1464, allocations: 63.89 kB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1467, allocations: 279.1 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1468, allocations: 57.06 kB / 0.6845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1469, allocations: 103.7 kB / 0.6846 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1471, allocations: 107.6 kB / 0.6847 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1472, allocations: 24 kB / 0.6848 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.153e-05/0.1472, allocations: 16 kB / 0.6848 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.1473, allocations: 63.81 kB / 0.6848 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1474, allocations: 99.53 kB / 0.6849 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1476, allocations: 243.2 kB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1476, allocations: 0 / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1476, allocations: 0 / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1476, allocations: 0 / 0.6852 GB, free: 3.758 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.0007474/0.1484, allocations: 0.5451 MB / 0.6857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1484, allocations: 8.031 kB / 0.6857 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1485, allocations: 20.66 kB / 0.6857 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1487, allocations: 224.1 kB / 0.6859 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1487, allocations: 8.375 kB / 0.6859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.1488, allocations: 16.38 kB / 0.686 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.1491, allocations: 214.6 kB / 0.6862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1491, allocations: 0 / 0.6862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1491, allocations: 4 kB / 0.6862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1491, allocations: 4 kB / 0.6862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.1494, allocations: 117.6 kB / 0.6863 GB, free: 2.504 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.001016/0.1504, allocations: 1.006 MB / 0.6873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.1511, allocations: 210.3 kB / 0.6875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1512, allocations: 68.81 kB / 0.6875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.1512, allocations: 0 / 0.6875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1513, allocations: 38.56 kB / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1513, allocations: 0 / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004323/0.1517, allocations: 225.3 kB / 0.6878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.1518, allocations: 51.41 kB / 0.6878 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1519, allocations: 223.7 kB / 0.688 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.152, allocations: 29.7 kB / 0.6881 GB, free: 496 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.152, allocations: 148 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1521, allocations: 35.45 kB / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/0.1522, allocations: 57.69 kB / 0.6883 GB, free: 244 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2268/0.3789, allocations: 326.8 kB / 0.6886 GB, free: 18.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3793, allocations: 153.1 kB / 0.6888 GB, free: 18.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3796, allocations: 207.5 kB / 0.689 GB, free: 18.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.3814, allocations: 0.8899 MB / 0.6898 GB, free: 17.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3814, allocations: 0.6562 kB / 0.6898 GB, free: 17.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007047/0.3821, allocations: 0.4958 MB / 0.6903 GB, free: 17.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.3822, allocations: 64.05 kB / 0.6904 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3822, allocations: 2.562 kB / 0.6904 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3822, allocations: 2.594 kB / 0.6904 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3824, allocations: 46.78 kB / 0.6904 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3825, allocations: 7 kB / 0.6904 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3827, allocations: 38.55 kB / 0.6905 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3827, allocations: 9.625 kB / 0.6905 GB, free: 17.77 MB / 494.1 MB 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.0001948/0.3829, allocations: 179.9 kB / 0.6907 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3829, allocations: 16.91 kB / 0.6907 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.383, allocations: 23.39 kB / 0.6907 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.383, allocations: 5.625 kB / 0.6907 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.383, allocations: 2.516 kB / 0.6907 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.383, allocations: 0.5625 kB / 0.6907 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.3832, allocations: 221.7 kB / 0.6909 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3832, allocations: 1.75 kB / 0.6909 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.3835, allocations: 38.16 kB / 0.6909 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3835, allocations: 0.9688 kB / 0.6909 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3835, allocations: 7.5 kB / 0.691 GB, free: 17.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3835, allocations: 4.781 kB / 0.691 GB, free: 17.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3835, allocations: 2.312 kB / 0.691 GB, free: 17.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.384, allocations: 348.5 kB / 0.6913 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.384, allocations: 91.88 kB / 0.6914 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3841, allocations: 7.828 kB / 0.6914 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3842, allocations: 14.25 kB / 0.6914 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3843, allocations: 5.016 kB / 0.6914 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3843, allocations: 1.531 kB / 0.6914 GB, free: 17.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3844, allocations: 152.2 kB / 0.6916 GB, free: 17.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3844, allocations: 3.375 kB / 0.6916 GB, free: 17.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.3847, allocations: 57.16 kB / 0.6916 GB, free: 17.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.438e-05/0.3848, allocations: 107.1 kB / 0.6917 GB, free: 16.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006553/0.3855, allocations: 0.6074 MB / 0.6923 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3855, allocations: 0.7188 kB / 0.6923 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3856, allocations: 70.53 kB / 0.6924 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3859, allocations: 40.73 kB / 0.6924 GB, free: 16.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3869, allocations: 0.6837 MB / 0.6931 GB, free: 16.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.3871, allocations: 0.7428 MB / 0.6938 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.3872, allocations: 40.61 kB / 0.6938 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.3873, allocations: 13.44 kB / 0.6939 GB, free: 15.49 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3873, allocations: 0 / 0.6939 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Templates: time 0.005565/0.3928, allocations: 2.392 MB / 0.6962 GB, free: 15.32 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)