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.001045/0.001045, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 279 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 92.88 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1414, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002895/0.1443, allocations: 1.839 MB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1454, allocations: 0.6848 MB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1455, allocations: 4 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1457, allocations: 35.77 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.146, allocations: 63.59 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1462, allocations: 55.91 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1465, allocations: 275.2 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1466, allocations: 61.28 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1468, allocations: 107.7 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.147, allocations: 107.7 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.1471, allocations: 16 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.1471, allocations: 20 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.1472, allocations: 63.75 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1473, allocations: 107.5 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1476, allocations: 231.3 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1476, allocations: 0 / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1476, allocations: 0 / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1476, allocations: 0 / 0.6838 GB, free: 12.95 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.0008208/0.1484, allocations: 0.5511 MB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1485, allocations: 8.031 kB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1485, allocations: 42.75 kB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1486, allocations: 20.75 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1488, allocations: 224 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1488, allocations: 12.38 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1489, allocations: 16.38 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1492, allocations: 205.5 kB / 0.6849 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1492, allocations: 0 / 0.6849 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1492, allocations: 3.984 kB / 0.6849 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1492, allocations: 4 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.1495, allocations: 124.6 kB / 0.685 GB, free: 11.63 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.001033/0.1505, allocations: 1.006 MB / 0.686 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.1512, allocations: 210.4 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1513, allocations: 68.8 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1513, allocations: 4 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1514, allocations: 38.56 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1514, allocations: 0 / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004432/0.1518, allocations: 225.4 kB / 0.6865 GB, free: 9.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1519, allocations: 51.41 kB / 0.6866 GB, free: 9.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.152, allocations: 223 kB / 0.6868 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1521, allocations: 25.7 kB / 0.6868 GB, free: 9.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.1521, allocations: 144.1 kB / 0.6869 GB, free: 9.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1522, allocations: 39.55 kB / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.1523, allocations: 53.7 kB / 0.687 GB, free: 9.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.1524, allocations: 330.8 kB / 0.6873 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1526, allocations: 151.9 kB / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.1528, allocations: 206.2 kB / 0.6877 GB, free: 8.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.1545, allocations: 0.8971 MB / 0.6886 GB, free: 7.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1545, allocations: 0 / 0.6886 GB, free: 7.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006217/0.1551, allocations: 0.5026 MB / 0.689 GB, free: 7.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.1552, allocations: 65.67 kB / 0.6891 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1552, allocations: 0 / 0.6891 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1552, allocations: 4 kB / 0.6891 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1554, allocations: 47.91 kB / 0.6892 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1554, allocations: 4.156 kB / 0.6892 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1556, allocations: 39.67 kB / 0.6892 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1556, allocations: 15.94 kB / 0.6892 GB, free: 7.043 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.000198/0.1558, allocations: 170.5 kB / 0.6894 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1559, allocations: 11.81 kB / 0.6894 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.1559, allocations: 25.39 kB / 0.6894 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1559, allocations: 0 / 0.6894 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.156, allocations: 4 kB / 0.6894 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.156, allocations: 0 / 0.6894 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1562, allocations: 241.3 kB / 0.6896 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1562, allocations: 0 / 0.6896 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.1564, allocations: 39.97 kB / 0.6897 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1564, allocations: 0 / 0.6897 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1565, allocations: 0 / 0.6897 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1565, allocations: 4 kB / 0.6897 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1565, allocations: 3.938 kB / 0.6897 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.1569, allocations: 351.5 kB / 0.69 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.157, allocations: 88.92 kB / 0.6901 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.157, allocations: 4.062 kB / 0.6901 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1571, allocations: 7.984 kB / 0.6901 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1572, allocations: 4 kB / 0.6901 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1572, allocations: 3.984 kB / 0.6901 GB, free: 6.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1573, allocations: 153.1 kB / 0.6903 GB, free: 5.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1573, allocations: 0 / 0.6903 GB, free: 5.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1576, allocations: 56 kB / 0.6903 GB, free: 5.809 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.0006474/0.1582, allocations: 0.8995 MB / 0.6912 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006624/0.1589, allocations: 0.6107 MB / 0.6918 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1589, allocations: 7.938 kB / 0.6918 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1591, allocations: 63.95 kB / 0.6919 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.1594, allocations: 30.56 kB / 0.6919 GB, free: 4.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.1631, allocations: 3.419 MB / 0.6952 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.1634, allocations: 0.7397 MB / 0.696 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.1635, allocations: 32.62 kB / 0.696 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.1636, allocations: 55.41 kB / 0.696 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1636, allocations: 0 / 0.696 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.4504, allocations: 4.506 MB / 0.7004 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.167, allocations: 10.59 kB / 0.7005 GB, free: 11.41 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)