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.005404/0.005404, allocations: 102.1 kB / 15.73 MB, free: 6.035 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.001422/0.001422, allocations: 199.4 kB / 16.68 MB, free: 5.957 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 282.9 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 87.86 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003022/0.1634, allocations: 1.836 MB / 0.7677 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1646, allocations: 0.6934 MB / 0.7683 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1648, allocations: 0 / 0.7683 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.165, allocations: 31.77 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1653, allocations: 67.59 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1655, allocations: 63.91 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.1659, allocations: 275.1 kB / 0.7688 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.166, allocations: 65.28 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1662, allocations: 103.8 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1664, allocations: 107.6 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.1665, allocations: 16 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.1665, allocations: 16 kB / 0.7691 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.1666, allocations: 63.8 kB / 0.7691 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1667, allocations: 99.59 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.167, allocations: 235.3 kB / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.167, allocations: 0 / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.167, allocations: 0 / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.167, allocations: 0 / 0.7694 GB, free: 5.285 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.000872/0.1679, allocations: 0.5511 MB / 0.77 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.168, allocations: 8.031 kB / 0.77 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.168, allocations: 42.75 kB / 0.77 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1681, allocations: 20.75 kB / 0.77 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1683, allocations: 228 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1683, allocations: 12.38 kB / 0.7703 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.1684, allocations: 12.38 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.1687, allocations: 198.5 kB / 0.7705 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1687, allocations: 7.938 kB / 0.7705 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1687, allocations: 4 kB / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1688, allocations: 4 kB / 0.7705 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.169, allocations: 120.6 kB / 0.7706 GB, free: 3.973 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.001075/0.1701, allocations: 1.009 MB / 0.7716 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.1708, allocations: 202.4 kB / 0.7718 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1709, allocations: 72.8 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1709, allocations: 8 kB / 0.7719 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.171, allocations: 30.56 kB / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.171, allocations: 0 / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004529/0.1714, allocations: 233.5 kB / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.1715, allocations: 55.41 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1717, allocations: 219 kB / 0.7724 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1717, allocations: 29.7 kB / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.1718, allocations: 136 kB / 0.7725 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.1718, allocations: 31.55 kB / 0.7726 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.1719, allocations: 61.61 kB / 0.7726 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.172, allocations: 330.8 kB / 0.7729 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1723, allocations: 155.9 kB / 0.7731 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1725, allocations: 204.5 kB / 0.7733 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.1741, allocations: 0.8984 MB / 0.7742 GB, free: 76 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1742, allocations: 3.938 kB / 0.7742 GB, free: 72 kB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.2869/0.461, allocations: 0.4916 MB / 0.7746 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.4611, allocations: 65.31 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4611, allocations: 1.094 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4612, allocations: 3.312 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.4614, allocations: 48.36 kB / 0.7748 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4614, allocations: 3.422 kB / 0.7748 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.4616, allocations: 36.28 kB / 0.7748 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.4617, allocations: 11.59 kB / 0.7748 GB, free: 14.79 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.0001996/0.4619, allocations: 171.1 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.4619, allocations: 14.59 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.462, allocations: 26.56 kB / 0.775 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.462, allocations: 1.25 kB / 0.775 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.462, allocations: 1.062 kB / 0.775 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.462, allocations: 0.6562 kB / 0.775 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.4622, allocations: 230.7 kB / 0.7752 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4622, allocations: 3.078 kB / 0.7752 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.4624, allocations: 33.56 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4624, allocations: 1.812 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.4625, allocations: 6.312 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4625, allocations: 2.062 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4625, allocations: 0.9375 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.463, allocations: 350.5 kB / 0.7756 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.463, allocations: 90.89 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.4631, allocations: 10.03 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4632, allocations: 4.719 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.4632, allocations: 6.156 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4633, allocations: 4.062 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001419/0.4634, allocations: 163.8 kB / 0.7759 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4634, allocations: 0 / 0.7759 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003263/0.4637, allocations: 64.67 kB / 0.7759 GB, free: 14.17 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.0006997/0.4645, allocations: 0.8827 MB / 0.7768 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007824/0.4652, allocations: 0.605 MB / 0.7774 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4653, allocations: 0 / 0.7774 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4654, allocations: 70.67 kB / 0.7775 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4657, allocations: 35.02 kB / 0.7775 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.4693, allocations: 3.417 MB / 0.7808 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.4695, allocations: 0.7392 MB / 0.7815 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.4696, allocations: 36.27 kB / 0.7816 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.4697, allocations: 47.31 kB / 0.7816 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.4697, allocations: 4 kB / 0.7816 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.4924, allocations: 4.646 MB / 0.7862 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.756, allocations: 7.812 kB / 0.7862 GB, free: 10.13 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)