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.005442/0.005442, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001588/0.001588, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002374/0.002374, allocations: 287 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002979/0.002979, allocations: 95.84 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1831, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003288/0.1864, allocations: 1.836 MB / 0.7677 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1877, allocations: 0.6895 MB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.1878, allocations: 4 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1881, allocations: 35.77 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1883, allocations: 63.61 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1885, allocations: 59.89 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.1889, allocations: 279.1 kB / 0.7688 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.189, allocations: 57.36 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1892, allocations: 99.8 kB / 0.7689 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1894, allocations: 111.6 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.1894, allocations: 20 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.485e-05/0.1895, allocations: 16 kB / 0.7691 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1896, allocations: 59.81 kB / 0.7691 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1897, allocations: 103.6 kB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.19, allocations: 239.1 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.19, allocations: 4 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.19, allocations: 3.938 kB / 0.7694 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.19, allocations: 0 / 0.7694 GB, free: 5.305 MB / 0.5606 GB 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.0009445/0.191, allocations: 0.5432 MB / 0.77 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.191, allocations: 19.97 kB / 0.77 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.1911, allocations: 46.73 kB / 0.77 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.1912, allocations: 20.8 kB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1915, allocations: 220.1 kB / 0.7703 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1915, allocations: 8.375 kB / 0.7703 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.1915, allocations: 20.36 kB / 0.7703 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.1919, allocations: 202.4 kB / 0.7705 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1919, allocations: 0 / 0.7705 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.192, allocations: 8 kB / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.192, allocations: 4 kB / 0.7705 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1922, allocations: 120.6 kB / 0.7706 GB, free: 3.988 MB / 0.5606 GB 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.001246/0.1935, allocations: 1.006 MB / 0.7716 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.1943, allocations: 198.4 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1944, allocations: 72.81 kB / 0.7719 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1944, allocations: 0 / 0.7719 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.1945, allocations: 42.55 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1945, allocations: 0 / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004976/0.195, allocations: 233.4 kB / 0.7721 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.195, allocations: 51.41 kB / 0.7722 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1953, allocations: 223.1 kB / 0.7724 GB, free: 2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1953, allocations: 29.7 kB / 0.7724 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1954, allocations: 144.3 kB / 0.7725 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1955, allocations: 35.73 kB / 0.7726 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.1956, allocations: 57.66 kB / 0.7726 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1957, allocations: 326.8 kB / 0.7729 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.196, allocations: 159.9 kB / 0.7731 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.1963, allocations: 202.2 kB / 0.7733 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.1982, allocations: 0.9098 MB / 0.7742 GB, free: 76 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1982, allocations: 0 / 0.7742 GB, free: 76 kB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.3427/0.5409, allocations: 495.5 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.541, allocations: 62.3 kB / 0.7747 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.541, allocations: 3.406 kB / 0.7747 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.5411, allocations: 3.062 kB / 0.7747 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.5413, allocations: 49.56 kB / 0.7748 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5413, allocations: 6.266 kB / 0.7748 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5415, allocations: 36.58 kB / 0.7748 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.5416, allocations: 11.86 kB / 0.7748 GB, free: 14.75 MB / 0.5606 GB 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.0002236/0.5418, allocations: 171.8 kB / 0.775 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.5419, allocations: 17.17 kB / 0.775 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.5419, allocations: 26.3 kB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.5419, allocations: 2.766 kB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5419, allocations: 0.5156 kB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5419, allocations: 2.547 kB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.5422, allocations: 229.5 kB / 0.7752 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5422, allocations: 1.031 kB / 0.7752 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.5425, allocations: 36.77 kB / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5425, allocations: 0 / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.5425, allocations: 8.422 kB / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5425, allocations: 3.188 kB / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5425, allocations: 0.6562 kB / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.543, allocations: 350.7 kB / 0.7756 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.543, allocations: 92 kB / 0.7757 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.5431, allocations: 8.938 kB / 0.7757 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5432, allocations: 8.328 kB / 0.7757 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.5433, allocations: 7.297 kB / 0.7757 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.5433, allocations: 6.062 kB / 0.7757 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001215/0.5434, allocations: 157.4 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5434, allocations: 0 / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004082/0.5438, allocations: 59.5 kB / 0.776 GB, free: 14.14 MB / 0.5606 GB 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.0006169/0.5445, allocations: 0.882 MB / 0.7768 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000721/0.5452, allocations: 0.6145 MB / 0.7774 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5452, allocations: 0 / 0.7774 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.5454, allocations: 66.19 kB / 0.7775 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.5458, allocations: 30.61 kB / 0.7775 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.5498, allocations: 3.423 MB / 0.7809 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.55, allocations: 0.7404 MB / 0.7816 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.5502, allocations: 35.61 kB / 0.7816 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.5503, allocations: 52.19 kB / 0.7817 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5503, allocations: 0 / 0.7817 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1982/0.7485, allocations: 4.57 MB / 0.7861 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/9.245, allocations: 14.69 kB / 0.7861 GB, free: 10.11 MB / 0.5606 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)