Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",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.005068/0.005068, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001135/0.001135, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.256/1.256, 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.002114/0.002114, allocations: 297.3 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.8934/0.8934, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 95.84 kB / 0.6809 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5299, allocations: 86.97 MB / 0.7659 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004049/0.5339, allocations: 2.91 MB / 0.7687 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.5351, allocations: 0.7089 MB / 0.7694 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.5353, allocations: 11.94 kB / 0.7694 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.5356, allocations: 63.48 kB / 0.7695 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.5359, allocations: 123 kB / 0.7696 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.5361, allocations: 59.84 kB / 0.7696 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.5365, allocations: 366.1 kB / 0.77 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.5367, allocations: 110.8 kB / 0.7701 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.5369, allocations: 147.4 kB / 0.7702 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.5372, allocations: 139.4 kB / 0.7704 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.5372, allocations: 24 kB / 0.7704 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.5373, allocations: 24 kB / 0.7704 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.5373, allocations: 67.62 kB / 0.7705 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.5375, allocations: 159.2 kB / 0.7706 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.5378, allocations: 310.9 kB / 0.7709 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5378, allocations: 4 kB / 0.7709 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5378, allocations: 0 / 0.7709 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.5378, allocations: 0 / 0.7709 GB, free: 14.8 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008865/0.5387, allocations: 0.5846 MB / 0.7715 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5388, allocations: 8.031 kB / 0.7715 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.768e-05/0.5389, allocations: 62.73 kB / 0.7716 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.5389, allocations: 36.56 kB / 0.7716 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.5393, allocations: 284.2 kB / 0.7719 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5393, allocations: 16.94 kB / 0.7719 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.5394, allocations: 24.38 kB / 0.7719 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.5398, allocations: 245 kB / 0.7722 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5398, allocations: 0 / 0.7722 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.5398, allocations: 8 kB / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.5398, allocations: 8 kB / 0.7722 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.5402, allocations: 194.1 kB / 0.7724 GB, free: 13.25 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.001572/0.5418, allocations: 1.285 MB / 0.7736 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.5426, allocations: 269.6 kB / 0.7739 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.5427, allocations: 61.12 kB / 0.7739 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5427, allocations: 3.938 kB / 0.7739 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5427, allocations: 42.56 kB / 0.774 GB, free: 11.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.5428, allocations: 0 / 0.774 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001165/0.5439, allocations: 0.6408 MB / 0.7746 GB, free: 10.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.544, allocations: 51.41 kB / 0.7746 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.5442, allocations: 287.2 kB / 0.7749 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5442, allocations: 29.7 kB / 0.7749 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5444, allocations: 219.2 kB / 0.7752 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.5444, allocations: 67.09 kB / 0.7752 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.5445, allocations: 69.61 kB / 0.7753 GB, free: 9.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5446, allocations: 334.8 kB / 0.7756 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5448, allocations: 80.33 kB / 0.7757 GB, free: 9.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.545, allocations: 194.2 kB / 0.7759 GB, free: 9.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.5464, allocations: 497.1 kB / 0.7763 GB, free: 8.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5464, allocations: 0 / 0.7763 GB, free: 8.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001051/0.5475, allocations: 420.3 kB / 0.7767 GB, free: 8.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5475, allocations: 4 kB / 0.7767 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5475, allocations: 4 kB / 0.7767 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.5479, allocations: 91.7 kB / 0.7768 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.5483, allocations: 75.84 kB / 0.7769 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.5518, allocations: 5.518 MB / 0.7823 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.5521, allocations: 55.61 kB / 0.7823 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.5521, allocations: 16 kB / 0.7824 GB, free: 1.984 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003155/0.5525, allocations: 174.2 kB / 0.7825 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.5525, allocations: 31.66 kB / 0.7826 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.5526, allocations: 26.3 kB / 0.7826 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5526, allocations: 4 kB / 0.7826 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5526, allocations: 0 / 0.7826 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5526, allocations: 4 kB / 0.7826 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.553, allocations: 313.3 kB / 0.7829 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.553, allocations: 4 kB / 0.7829 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.5532, allocations: 31.98 kB / 0.7829 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.5534, allocations: 79.39 kB / 0.783 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.5534, allocations: 8 kB / 0.783 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.5569, allocations: 5.495 MB / 0.7884 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.557, allocations: 4.031 kB / 0.7884 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.5576, allocations: 414.4 kB / 0.7888 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.5577, allocations: 108.6 kB / 0.7889 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.5577, allocations: 4.062 kB / 0.7889 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5578, allocations: 4 kB / 0.7889 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5579, allocations: 15.97 kB / 0.7889 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5579, allocations: 4 kB / 0.7889 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001713/0.5581, allocations: 198 kB / 0.7891 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5581, allocations: 0 / 0.7891 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004425/0.5585, allocations: 91.94 kB / 0.7892 GB, free: 10.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * 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 (12): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008789/0.5594, allocations: 0.9527 MB / 0.7901 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008219/0.5602, allocations: 0.6625 MB / 0.7908 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5603, allocations: 0 / 0.7908 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.5608, allocations: 0.5309 MB / 0.7913 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.5612, allocations: 63.02 kB / 0.7913 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.5649, allocations: 3.154 MB / 0.7944 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.5653, allocations: 0.7645 MB / 0.7952 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.5654, allocations: 38.95 kB / 0.7952 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5655, allocations: 87.41 kB / 0.7953 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5656, allocations: 0 / 0.7953 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.6014, allocations: 7.152 MB / 0.8023 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.146/9.747, allocations: 4.688 kB / 0.8023 GB, free: 12.75 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)