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.00509/0.00509, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001389/0.001389, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.341/1.341, 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.002369/0.002369, allocations: 287.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9628/0.9628, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 95.86 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1615, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004119/0.1657, allocations: 2.908 MB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1667, allocations: 0.6972 MB / 0.7694 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1669, allocations: 15.88 kB / 0.7694 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1671, allocations: 67.42 kB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1673, allocations: 122.9 kB / 0.7696 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1674, allocations: 51.94 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1678, allocations: 374 kB / 0.77 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.168, allocations: 104.1 kB / 0.7701 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1682, allocations: 139.5 kB / 0.7702 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1684, allocations: 147.3 kB / 0.7704 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.1684, allocations: 24 kB / 0.7704 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.1685, allocations: 24 kB / 0.7704 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1685, allocations: 63.77 kB / 0.7705 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1687, allocations: 163.1 kB / 0.7706 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.169, allocations: 314.6 kB / 0.7709 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.169, allocations: 0 / 0.7709 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.169, allocations: 0 / 0.7709 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.169, allocations: 3.938 kB / 0.7709 GB, free: 3.766 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000791/0.1698, allocations: 0.5922 MB / 0.7715 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1699, allocations: 8.031 kB / 0.7715 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.17, allocations: 62.72 kB / 0.7716 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.17, allocations: 40.64 kB / 0.7716 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1703, allocations: 283.8 kB / 0.7719 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1703, allocations: 20.94 kB / 0.7719 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.1704, allocations: 24.38 kB / 0.7719 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.1708, allocations: 237 kB / 0.7722 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1708, allocations: 4 kB / 0.7722 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.1709, allocations: 8 kB / 0.7722 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1709, allocations: 15.98 kB / 0.7722 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.1712, allocations: 186.2 kB / 0.7724 GB, free: 2.203 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.001547/0.1728, allocations: 1.289 MB / 0.7736 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.1736, allocations: 258.5 kB / 0.7739 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1737, allocations: 60.83 kB / 0.7739 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1737, allocations: 8 kB / 0.7739 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1738, allocations: 34.56 kB / 0.774 GB, free: 372 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1738, allocations: 0 / 0.774 GB, free: 372 kB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.2722/0.4459, allocations: 0.6431 MB / 0.7746 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.446, allocations: 57.03 kB / 0.7747 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.4463, allocations: 287.1 kB / 0.7749 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4463, allocations: 29.92 kB / 0.775 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.4464, allocations: 222.9 kB / 0.7752 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.4464, allocations: 68.86 kB / 0.7752 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.4465, allocations: 71.67 kB / 0.7753 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.4466, allocations: 339.5 kB / 0.7756 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.4467, allocations: 73.94 kB / 0.7757 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.4469, allocations: 193.2 kB / 0.7759 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000937/0.4478, allocations: 487.2 kB / 0.7763 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4479, allocations: 2.547 kB / 0.7763 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006165/0.4485, allocations: 425.2 kB / 0.7768 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4485, allocations: 11.16 kB / 0.7768 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4485, allocations: 3.969 kB / 0.7768 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.4488, allocations: 85 kB / 0.7768 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.449, allocations: 76.02 kB / 0.7769 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.4512, allocations: 5.525 MB / 0.7823 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.4515, allocations: 44.52 kB / 0.7824 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.4515, allocations: 16.12 kB / 0.7824 GB, free: 8.137 MB / 0.5606 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.0002309/0.4517, allocations: 177 kB / 0.7825 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.4518, allocations: 28.84 kB / 0.7826 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.4518, allocations: 35.52 kB / 0.7826 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4518, allocations: 1.516 kB / 0.7826 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4518, allocations: 6.531 kB / 0.7826 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4518, allocations: 1.969 kB / 0.7826 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4521, allocations: 306.1 kB / 0.7829 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4521, allocations: 0.7969 kB / 0.7829 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.4523, allocations: 35.83 kB / 0.7829 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.4525, allocations: 74.81 kB / 0.783 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4526, allocations: 6.781 kB / 0.783 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.455, allocations: 5.512 MB / 0.7884 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.455, allocations: 3.328 kB / 0.7884 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.4556, allocations: 421.3 kB / 0.7888 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.4557, allocations: 111.2 kB / 0.7889 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.4557, allocations: 3.031 kB / 0.7889 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4559, allocations: 7.703 kB / 0.7889 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.4559, allocations: 20.66 kB / 0.7889 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4559, allocations: 5.297 kB / 0.7889 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001691/0.4561, allocations: 193.6 kB / 0.7891 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4561, allocations: 0 / 0.7891 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005139/0.4566, allocations: 90.45 kB / 0.7892 GB, free: 17.48 MB / 0.5762 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.0008428/0.4575, allocations: 0.9565 MB / 0.7902 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007088/0.4582, allocations: 0.667 MB / 0.7908 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4582, allocations: 0.9688 kB / 0.7908 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.4587, allocations: 0.5281 MB / 0.7913 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4591, allocations: 51.39 kB / 0.7914 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.4623, allocations: 3.166 MB / 0.7945 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4627, allocations: 0.7657 MB / 0.7952 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.4628, allocations: 28.73 kB / 0.7952 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.4629, allocations: 89.38 kB / 0.7953 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.4629, allocations: 4 kB / 0.7953 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.594/2.057, allocations: 7.024 MB / 0.8022 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/12.68, allocations: 13.94 kB / 0.8022 GB, free: 11.84 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)