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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.769/0.769, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 192.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.33 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 273 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.649e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4488, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.5752, allocations: 111.1 MB / 0.8728 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5756, allocations: 75.95 kB / 0.8729 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.5921, allocations: 6.16 MB / 0.8789 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5922, allocations: 0 / 0.8789 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.5922, allocations: 4 kB / 0.8789 GB, free: 7.184 MB / 0.5417 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.0007241/0.5929, allocations: 0.5104 MB / 0.8794 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.593, allocations: 11.97 kB / 0.8794 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.558e-05/0.5931, allocations: 62.53 kB / 0.8795 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.5931, allocations: 35.62 kB / 0.8795 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.5933, allocations: 218.4 kB / 0.8797 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.5934, allocations: 16.56 kB / 0.8797 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.5934, allocations: 24 kB / 0.8798 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.5939, allocations: 236.9 kB / 0.88 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5939, allocations: 0 / 0.88 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.5939, allocations: 12 kB / 0.88 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.594, allocations: 7.938 kB / 0.88 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.5943, allocations: 194.2 kB / 0.8802 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.5959, allocations: 1.065 MB / 0.8812 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.5967, allocations: 250.4 kB / 0.8815 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5968, allocations: 57.08 kB / 0.8815 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.5969, allocations: 7.984 kB / 0.8815 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.5969, allocations: 30.56 kB / 0.8816 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.5969, allocations: 4 kB / 0.8816 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0005427/0.5975, allocations: 224.9 kB / 0.8818 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5975, allocations: 51.41 kB / 0.8818 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.5978, allocations: 271.4 kB / 0.8821 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.5979, allocations: 29.7 kB / 0.8821 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.598, allocations: 215.4 kB / 0.8823 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.5981, allocations: 75.02 kB / 0.8824 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.5981, allocations: 4 kB / 0.8824 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5982, allocations: 338.8 kB / 0.8827 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.5984, allocations: 76.38 kB / 0.8828 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5986, allocations: 198 kB / 0.883 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.5988, allocations: 112.4 kB / 0.8831 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5988, allocations: 0 / 0.8831 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007037/0.5995, allocations: 420.7 kB / 0.8835 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5996, allocations: 4 kB / 0.8835 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5996, allocations: 4 kB / 0.8835 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.6, allocations: 87.39 kB / 0.8836 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.6002, allocations: 79.84 kB / 0.8836 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.6041, allocations: 5.12 MB / 0.8886 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.6044, allocations: 39.59 kB / 0.8887 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.6045, allocations: 19.98 kB / 0.8887 GB, free: 12.23 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.6048, allocations: 153.5 kB / 0.8889 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.6048, allocations: 39.56 kB / 0.8889 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.6049, allocations: 30.09 kB / 0.8889 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6049, allocations: 3.984 kB / 0.8889 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.6049, allocations: 4 kB / 0.8889 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.605, allocations: 0 / 0.8889 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.6053, allocations: 309.4 kB / 0.8892 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6054, allocations: 4 kB / 0.8892 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.6056, allocations: 31.98 kB / 0.8893 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.6058, allocations: 83.33 kB / 0.8893 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.6059, allocations: 15.89 kB / 0.8893 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.6095, allocations: 5.12 MB / 0.8943 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6096, allocations: 4.031 kB / 0.8944 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.6102, allocations: 402.8 kB / 0.8947 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6103, allocations: 104.7 kB / 0.8948 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.6104, allocations: 11.95 kB / 0.8948 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.6105, allocations: 7.984 kB / 0.8949 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.6106, allocations: 11.98 kB / 0.8949 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.6106, allocations: 4 kB / 0.8949 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002388/0.6109, allocations: 207.1 kB / 0.8951 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6109, allocations: 4 kB / 0.8951 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005064/0.6114, allocations: 99.84 kB / 0.8952 GB, free: 4.969 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.6124, allocations: 0.9487 MB / 0.8961 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009428/0.6134, allocations: 0.643 MB / 0.8967 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6134, allocations: 0 / 0.8967 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005785/0.614, allocations: 0.5267 MB / 0.8972 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.6144, allocations: 44.77 kB / 0.8973 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.6157, allocations: 0.6865 MB / 0.898 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.6161, allocations: 0.7716 MB / 0.8987 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.6163, allocations: 26.06 kB / 0.8987 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6164, allocations: 87.41 kB / 0.8988 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.6164, allocations: 0 / 0.8988 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.6379, allocations: 6.496 MB / 0.9052 GB, free: 10.77 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/0.6383, allocations: 183.7 kB / 0.9053 GB, free: 10.55 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.78, allocations: 0 / 0.9053 GB, free: 10.55 MB / 0.573 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/linux/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)