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.001193/0.001193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001241/0.001241, allocations: 200 kB / 16.26 MB, free: 6.621 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.19/1.19, allocations: 222.9 MB / 239.9 MB, free: 4.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.001888/0.001888, allocations: 282.9 kB / 290.3 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8402/0.8402, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 90.98 kB / 0.5948 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1251, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002397/0.1276, allocations: 1.892 MB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.1284, allocations: 0.678 MB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.1284, allocations: 1.719 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.1286, allocations: 27.83 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1288, allocations: 63.67 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1289, allocations: 55.94 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1292, allocations: 267.2 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1293, allocations: 65.3 kB / 0.6827 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1295, allocations: 111.7 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1296, allocations: 111.6 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1296, allocations: 16 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.973e-05/0.1297, allocations: 16 kB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1297, allocations: 55.83 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-05/0.1298, allocations: 103.6 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.13, allocations: 235.3 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.13, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.13, allocations: 7.938 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.13, allocations: 0 / 0.6833 GB, free: 13.28 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.000664/0.1307, allocations: 0.5316 MB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1308, allocations: 12.03 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1308, allocations: 50.73 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1308, allocations: 16.75 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.131, allocations: 224.8 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.131, allocations: 8.375 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.1311, allocations: 20.36 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1314, allocations: 198.2 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1314, allocations: 7.938 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1314, allocations: 4 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1314, allocations: 8 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.1316, allocations: 120.5 kB / 0.6845 GB, free: 11.97 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.0008995/0.1325, allocations: 1.009 MB / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.1332, allocations: 202.4 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1333, allocations: 76.81 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1333, allocations: 0 / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1334, allocations: 38.7 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.1334, allocations: 0 / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004079/0.1338, allocations: 241.3 kB / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1338, allocations: 51.41 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.134, allocations: 218.9 kB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.134, allocations: 33.7 kB / 0.6863 GB, free: 9.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.1341, allocations: 140 kB / 0.6864 GB, free: 9.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1341, allocations: 39.53 kB / 0.6865 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.1342, allocations: 49.7 kB / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.1343, allocations: 334.8 kB / 0.6868 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1345, allocations: 155.9 kB / 0.687 GB, free: 9.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1347, allocations: 204.4 kB / 0.6872 GB, free: 8.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.1362, allocations: 0.897 MB / 0.688 GB, free: 8.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1363, allocations: 3.938 kB / 0.6881 GB, free: 8.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005835/0.1368, allocations: 0.5026 MB / 0.6885 GB, free: 7.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.1369, allocations: 65.66 kB / 0.6886 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1369, allocations: 4 kB / 0.6886 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1369, allocations: 4.156 kB / 0.6886 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1371, allocations: 43.97 kB / 0.6887 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1371, allocations: 4 kB / 0.6887 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1373, allocations: 31.69 kB / 0.6887 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1373, allocations: 8 kB / 0.6887 GB, free: 7.379 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.0001935/0.1375, allocations: 191 kB / 0.6889 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1376, allocations: 15.81 kB / 0.6889 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.1376, allocations: 25.41 kB / 0.6889 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1376, allocations: 0 / 0.6889 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1376, allocations: 0 / 0.6889 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1377, allocations: 3.984 kB / 0.6889 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1379, allocations: 237.4 kB / 0.6891 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1379, allocations: 3.938 kB / 0.6892 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1381, allocations: 31.92 kB / 0.6892 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1381, allocations: 4 kB / 0.6892 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1381, allocations: 3.984 kB / 0.6892 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1381, allocations: 0 / 0.6892 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1381, allocations: 4 kB / 0.6892 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.1385, allocations: 351.2 kB / 0.6895 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1386, allocations: 92.91 kB / 0.6896 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1386, allocations: 0 / 0.6896 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1387, allocations: 4 kB / 0.6896 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1388, allocations: 12.05 kB / 0.6896 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1388, allocations: 0 / 0.6896 GB, free: 6.332 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.987e-05/0.1389, allocations: 156.6 kB / 0.6898 GB, free: 6.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.1389, allocations: 0 / 0.6898 GB, free: 6.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1392, allocations: 59.94 kB / 0.6898 GB, free: 6.121 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.000582/0.1398, allocations: 0.88 MB / 0.6907 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.1404, allocations: 0.6279 MB / 0.6913 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1404, allocations: 0 / 0.6913 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1405, allocations: 63.95 kB / 0.6914 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1408, allocations: 33.17 kB / 0.6914 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.1441, allocations: 3.458 MB / 0.6948 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1443, allocations: 0.7397 MB / 0.6955 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.863e-05/0.1444, allocations: 44.59 kB / 0.6955 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.1445, allocations: 43.42 kB / 0.6956 GB, free: 60 kB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1445, allocations: 0 / 0.6956 GB, free: 60 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.479/1.624, allocations: 4.402 MB / 0.6999 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/1.624, allocations: 220.9 kB / 0.7001 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/3.349, allocations: 0 / 0.7001 GB, free: 11.59 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)