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.006981/0.006981, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001626/0.001626, allocations: 197 kB / 16.68 MB, free: 5.926 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 290.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 99.86 kB / 0.6809 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4032, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003031/0.4063, allocations: 1.84 MB / 0.7677 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.4074, allocations: 0.6818 MB / 0.7683 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4075, allocations: 4 kB / 0.7683 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.4078, allocations: 39.77 kB / 0.7684 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.408, allocations: 63.58 kB / 0.7684 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.4082, allocations: 59.86 kB / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.4086, allocations: 279.1 kB / 0.7688 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4087, allocations: 63.88 kB / 0.7688 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.4089, allocations: 99.75 kB / 0.7689 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.4091, allocations: 103.7 kB / 0.769 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.4091, allocations: 20 kB / 0.769 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.769e-05/0.4092, allocations: 16 kB / 0.769 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.4093, allocations: 59.86 kB / 0.7691 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.4094, allocations: 111.5 kB / 0.7692 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.4096, allocations: 239.2 kB / 0.7694 GB, free: 192 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4096, allocations: 0 / 0.7694 GB, free: 192 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4096, allocations: 0 / 0.7694 GB, free: 192 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4096, allocations: 0 / 0.7694 GB, free: 192 kB / 0.5294 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.0007983/0.4105, allocations: 0.5394 MB / 0.77 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4105, allocations: 12.03 kB / 0.77 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.4105, allocations: 42.73 kB / 0.77 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.4106, allocations: 16.75 kB / 0.77 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.4108, allocations: 228.6 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4109, allocations: 8.375 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.4109, allocations: 24.22 kB / 0.7703 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.4112, allocations: 209.9 kB / 0.7705 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4113, allocations: 0 / 0.7705 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.4113, allocations: 11.92 kB / 0.7705 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4113, allocations: 4 kB / 0.7705 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.4115, allocations: 120.5 kB / 0.7706 GB, free: 14.87 MB / 0.545 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.001058/0.4126, allocations: 0.9979 MB / 0.7716 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.4133, allocations: 202.4 kB / 0.7718 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4134, allocations: 76.81 kB / 0.7719 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4134, allocations: 0 / 0.7719 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.4135, allocations: 34.5 kB / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.4135, allocations: 0 / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004574/0.4139, allocations: 233.5 kB / 0.7721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.414, allocations: 51.41 kB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.4142, allocations: 231.5 kB / 0.7724 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4142, allocations: 29.7 kB / 0.7724 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.4143, allocations: 132 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.4143, allocations: 35.55 kB / 0.7726 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.4144, allocations: 53.69 kB / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4145, allocations: 326.8 kB / 0.7729 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.4148, allocations: 159.9 kB / 0.7731 GB, free: 12.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.415, allocations: 216.9 kB / 0.7733 GB, free: 11.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.4167, allocations: 0.8858 MB / 0.7742 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4167, allocations: 0 / 0.7742 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006295/0.4173, allocations: 0.4989 MB / 0.7746 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.4174, allocations: 61.67 kB / 0.7747 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4174, allocations: 4 kB / 0.7747 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4174, allocations: 4 kB / 0.7747 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.4176, allocations: 47.91 kB / 0.7748 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4176, allocations: 4 kB / 0.7748 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.4178, allocations: 35.67 kB / 0.7748 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.4178, allocations: 8 kB / 0.7748 GB, free: 10.3 MB / 0.545 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.0002002/0.418, allocations: 186 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.4181, allocations: 15.89 kB / 0.775 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.4182, allocations: 17.41 kB / 0.775 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4182, allocations: 7.938 kB / 0.775 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4182, allocations: 0 / 0.775 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4182, allocations: 3.938 kB / 0.775 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.4184, allocations: 233.4 kB / 0.7752 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4184, allocations: 0 / 0.7752 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.4187, allocations: 35.97 kB / 0.7753 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4187, allocations: 4 kB / 0.7753 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4187, allocations: 8 kB / 0.7753 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4187, allocations: 0 / 0.7753 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4187, allocations: 0 / 0.7753 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.4192, allocations: 347.1 kB / 0.7756 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.4192, allocations: 88.92 kB / 0.7757 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4193, allocations: 7.984 kB / 0.7757 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4194, allocations: 12.06 kB / 0.7757 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.4194, allocations: 3.984 kB / 0.7757 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4194, allocations: 4.125 kB / 0.7757 GB, free: 9.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001098/0.4196, allocations: 152.6 kB / 0.7759 GB, free: 9.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4196, allocations: 0 / 0.7759 GB, free: 9.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002931/0.4199, allocations: 63.84 kB / 0.7759 GB, free: 9.039 MB / 0.545 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.0006736/0.4205, allocations: 0.8882 MB / 0.7768 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.4212, allocations: 0.6077 MB / 0.7774 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4212, allocations: 0 / 0.7774 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4213, allocations: 75.88 kB / 0.7775 GB, free: 7.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4216, allocations: 31.27 kB / 0.7775 GB, free: 7.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.4252, allocations: 3.409 MB / 0.7808 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4255, allocations: 0.7397 MB / 0.7816 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.872e-05/0.4256, allocations: 40.61 kB / 0.7816 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.4257, allocations: 47.36 kB / 0.7816 GB, free: 3.035 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4257, allocations: 0 / 0.7816 GB, free: 3.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.4471, allocations: 4.526 MB / 0.7861 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.74, allocations: 5.062 kB / 0.7861 GB, free: 14.67 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)