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: "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001244/0.001244, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 286.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8854/0.8854, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 93.33 kB / 0.5946 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 86.98 MB / 0.6795 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002937/0.1382, allocations: 1.883 MB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1393, allocations: 0.6901 MB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1394, allocations: 7.938 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1396, allocations: 23.84 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1398, allocations: 64.58 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.14, allocations: 56.42 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.1403, allocations: 295.2 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1404, allocations: 53.28 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.1406, allocations: 95.69 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1407, allocations: 99.72 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1408, allocations: 12 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.1408, allocations: 8 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.1409, allocations: 67.8 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.141, allocations: 99.58 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1412, allocations: 219.3 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1413, allocations: 0 / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1413, allocations: 4 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1413, allocations: 0 / 0.6831 GB, free: 13.41 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.0008224/0.1421, allocations: 0.5394 MB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1421, allocations: 8.031 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.1422, allocations: 46.73 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1422, allocations: 24.69 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1425, allocations: 216.6 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1425, allocations: 12.38 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1425, allocations: 12.38 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1429, allocations: 214.4 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1429, allocations: 4 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1429, allocations: 8 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1429, allocations: 0 / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1431, allocations: 124.5 kB / 0.6843 GB, free: 12.09 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.0009908/0.1441, allocations: 1.002 MB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.1449, allocations: 210.4 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.145, allocations: 72.81 kB / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.145, allocations: 0 / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.145, allocations: 34.5 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.145, allocations: 0 / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004377/0.1455, allocations: 241.5 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1455, allocations: 51.41 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1457, allocations: 222.9 kB / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1457, allocations: 29.7 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.1458, allocations: 136 kB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1458, allocations: 31.55 kB / 0.6862 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.1459, allocations: 57.69 kB / 0.6863 GB, free: 9.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.146, allocations: 326.8 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1463, allocations: 167.8 kB / 0.6868 GB, free: 9.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1465, allocations: 202.2 kB / 0.687 GB, free: 9.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.1481, allocations: 0.8932 MB / 0.6878 GB, free: 8.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1482, allocations: 7.938 kB / 0.6878 GB, free: 8.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006245/0.1488, allocations: 0.5026 MB / 0.6883 GB, free: 7.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.1489, allocations: 65.67 kB / 0.6884 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1489, allocations: 0 / 0.6884 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1489, allocations: 4 kB / 0.6884 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.1491, allocations: 52.06 kB / 0.6884 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1491, allocations: 4 kB / 0.6884 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1493, allocations: 35.67 kB / 0.6885 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1493, allocations: 8 kB / 0.6885 GB, free: 7.5 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: 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] 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[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[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[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] 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.0002029/0.1495, allocations: 178.9 kB / 0.6887 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1496, allocations: 19.8 kB / 0.6887 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1496, allocations: 17.41 kB / 0.6887 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1496, allocations: 4 kB / 0.6887 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1497, allocations: 4 kB / 0.6887 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1497, allocations: 0 / 0.6887 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1499, allocations: 237.3 kB / 0.6889 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1499, allocations: 4 kB / 0.6889 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.1501, allocations: 35.97 kB / 0.689 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1501, allocations: 0 / 0.689 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1502, allocations: 4 kB / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1502, allocations: 0 / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1502, allocations: 0 / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.1506, allocations: 355.1 kB / 0.6893 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1507, allocations: 88.92 kB / 0.6894 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1507, allocations: 7.984 kB / 0.6894 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1508, allocations: 4 kB / 0.6894 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1509, allocations: 8.047 kB / 0.6894 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1509, allocations: 4 kB / 0.6894 GB, free: 6.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.151, allocations: 152.6 kB / 0.6896 GB, free: 6.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.151, allocations: 4 kB / 0.6896 GB, free: 6.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1513, allocations: 56 kB / 0.6896 GB, free: 6.254 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 0.0006345/0.1519, allocations: 0.8823 MB / 0.6905 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.1526, allocations: 0.6163 MB / 0.6911 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1526, allocations: 4 kB / 0.6911 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1527, allocations: 68.36 kB / 0.6911 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.153, allocations: 28.91 kB / 0.6912 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.1566, allocations: 3.462 MB / 0.6946 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1568, allocations: 0.7439 MB / 0.6953 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1569, allocations: 40.59 kB / 0.6953 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.157, allocations: 43.42 kB / 0.6954 GB, free: 204 kB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.157, allocations: 4 kB / 0.6954 GB, free: 200 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.1875, allocations: 4.258 MB / 0.6995 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.1878, allocations: 221.5 kB / 0.6997 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.79, allocations: 0 / 0.6997 GB, free: 11.85 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)