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.0006751/0.0006751, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.003715/0.003715, allocations: 169.2 kB / 16.26 MB, free: 6.656 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 282.6 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 11.03 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.001769/0.1389, allocations: 1.547 MB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1398, allocations: 0.6803 MB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1398, allocations: 0 / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.14, allocations: 32.48 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1402, allocations: 56.17 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1404, allocations: 52.47 kB / 0.6875 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1406, allocations: 295.1 kB / 0.6878 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1408, allocations: 57.44 kB / 0.6879 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1409, allocations: 92.44 kB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.141, allocations: 99.72 kB / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1411, allocations: 13.38 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.1411, allocations: 8 kB / 0.6881 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.1412, allocations: 63.8 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1413, allocations: 113.3 kB / 0.6882 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1415, allocations: 226.5 kB / 0.6885 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1415, allocations: 0 / 0.6885 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1415, allocations: 0 / 0.6885 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1415, allocations: 0 / 0.6885 GB, free: 11.66 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.000682/0.1422, allocations: 0.5085 MB / 0.689 GB, free: 11.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1422, allocations: 12.03 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.1423, allocations: 42.75 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1424, allocations: 16.75 kB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1426, allocations: 229.3 kB / 0.6892 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1426, allocations: 9.031 kB / 0.6893 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1426, allocations: 20.97 kB / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1429, allocations: 207.3 kB / 0.6895 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.143, allocations: 0 / 0.6895 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.143, allocations: 9.297 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.143, allocations: 4 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1432, allocations: 128.6 kB / 0.6896 GB, free: 10.38 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.0009899/0.1442, allocations: 1.013 MB / 0.6906 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.1449, allocations: 206.4 kB / 0.6908 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.145, allocations: 76.8 kB / 0.6909 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1451, allocations: 4 kB / 0.6909 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1451, allocations: 34.5 kB / 0.6909 GB, free: 8.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1451, allocations: 0 / 0.6909 GB, free: 8.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004441/0.1455, allocations: 241.5 kB / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.1456, allocations: 51.41 kB / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1458, allocations: 218.9 kB / 0.6914 GB, free: 8.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1458, allocations: 33.64 kB / 0.6914 GB, free: 8.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.1459, allocations: 140 kB / 0.6916 GB, free: 8.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1459, allocations: 35.55 kB / 0.6916 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.146, allocations: 33.7 kB / 0.6916 GB, free: 8.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1461, allocations: 334.8 kB / 0.6919 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.1463, allocations: 155.9 kB / 0.6921 GB, free: 7.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.1466, allocations: 210.2 kB / 0.6923 GB, free: 7.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.1483, allocations: 0.9165 MB / 0.6932 GB, free: 6.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1483, allocations: 0 / 0.6932 GB, free: 6.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006583/0.1489, allocations: 0.5105 MB / 0.6937 GB, free: 5.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.149, allocations: 63.84 kB / 0.6937 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.149, allocations: 4 kB / 0.6938 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.149, allocations: 0 / 0.6938 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1492, allocations: 55.91 kB / 0.6938 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1493, allocations: 4 kB / 0.6938 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.1495, allocations: 31.84 kB / 0.6938 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1495, allocations: 15.98 kB / 0.6939 GB, free: 5.75 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.0002103/0.1497, allocations: 174 kB / 0.694 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1497, allocations: 15.81 kB / 0.694 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1498, allocations: 25.39 kB / 0.6941 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1498, allocations: 4 kB / 0.6941 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1498, allocations: 0 / 0.6941 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1498, allocations: 3.984 kB / 0.6941 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1501, allocations: 237.3 kB / 0.6943 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1501, allocations: 0 / 0.6943 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.1503, allocations: 35.98 kB / 0.6943 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1503, allocations: 4 kB / 0.6943 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1503, allocations: 3.984 kB / 0.6943 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1504, allocations: 0 / 0.6943 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1504, allocations: 0 / 0.6943 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.1508, allocations: 355.1 kB / 0.6947 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1509, allocations: 92.91 kB / 0.6948 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1509, allocations: 8.062 kB / 0.6948 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.151, allocations: 4 kB / 0.6948 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1511, allocations: 3.984 kB / 0.6948 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1511, allocations: 4 kB / 0.6948 GB, free: 4.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1512, allocations: 156.6 kB / 0.6949 GB, free: 4.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1512, allocations: 3.938 kB / 0.6949 GB, free: 4.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1515, allocations: 59.91 kB / 0.695 GB, free: 4.492 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.0006444/0.1521, allocations: 0.8949 MB / 0.6959 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006425/0.1528, allocations: 0.6164 MB / 0.6965 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1528, allocations: 0 / 0.6965 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1529, allocations: 75.89 kB / 0.6965 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1532, allocations: 29.05 kB / 0.6966 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.1569, allocations: 3.557 MB / 0.7 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1572, allocations: 0.74 MB / 0.7008 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000103/0.1573, allocations: 36.61 kB / 0.7008 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.573e-05/0.1574, allocations: 47.42 kB / 0.7008 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1574, allocations: 0 / 0.7008 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/1.215, allocations: 4.162 MB / 0.7049 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.215, allocations: 223.5 kB / 0.7051 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.893, allocations: 0 / 0.7051 GB, free: 10.1 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)