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.8064/0.8064, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 175.9 kB / 182.2 MB, free: 9.449 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.444/1.444, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009131/0.000913, allocations: 100 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 287.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.068e-05, allocations: 0 / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4362, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5827, allocations: 110.4 MB / 0.8653 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.583, allocations: 79.95 kB / 0.8653 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.599, allocations: 6.08 MB / 0.8713 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.599, allocations: 0 / 0.8713 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.5991, allocations: 12 kB / 0.8713 GB, free: 11.14 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.0006758/0.5997, allocations: 0.5143 MB / 0.8718 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.5998, allocations: 8.031 kB / 0.8718 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.5999, allocations: 39.56 kB / 0.8718 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.6001, allocations: 214.5 kB / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.6001, allocations: 15.89 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.6002, allocations: 19.98 kB / 0.8721 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003383/0.6005, allocations: 173.1 kB / 0.8722 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.6009, allocations: 199.7 kB / 0.8724 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6009, allocations: 0 / 0.8724 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.6009, allocations: 0 / 0.8724 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.601, allocations: 8 kB / 0.8724 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.6024, allocations: 1.018 MB / 0.8734 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.6032, allocations: 242.5 kB / 0.8737 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.6033, allocations: 52.86 kB / 0.8737 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.6033, allocations: 4 kB / 0.8737 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.6033, allocations: 30.56 kB / 0.8737 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.6033, allocations: 0 / 0.8737 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0005145/0.6038, allocations: 218.4 kB / 0.8739 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.6039, allocations: 63.34 kB / 0.874 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.6042, allocations: 246.5 kB / 0.8742 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.6042, allocations: 25.7 kB / 0.8743 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6043, allocations: 215.3 kB / 0.8745 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.6044, allocations: 67.09 kB / 0.8745 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.6044, allocations: 4 kB / 0.8745 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6046, allocations: 334.8 kB / 0.8749 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.6047, allocations: 68.38 kB / 0.8749 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.6049, allocations: 182.2 kB / 0.8751 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.6051, allocations: 104.3 kB / 0.8752 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6051, allocations: 7.938 kB / 0.8752 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006186/0.6057, allocations: 376.7 kB / 0.8756 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6057, allocations: 4 kB / 0.8756 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6057, allocations: 4 kB / 0.8756 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.606, allocations: 95.33 kB / 0.8757 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.6063, allocations: 71.91 kB / 0.8757 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.6099, allocations: 4.944 MB / 0.8806 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.6102, allocations: 31.62 kB / 0.8806 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.6102, allocations: 19.95 kB / 0.8806 GB, free: 0.7695 MB / 0.5417 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.0002103/0.6104, allocations: 143.6 kB / 0.8807 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000393/0.6108, allocations: 216.6 kB / 0.881 GB, free: 400 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.6109, allocations: 27.7 kB / 0.881 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.6109, allocations: 34.03 kB / 0.881 GB, free: 336 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6109, allocations: 4 kB / 0.881 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.611, allocations: 4 kB / 0.881 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.611, allocations: 0 / 0.881 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.6113, allocations: 285.8 kB / 0.8813 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6113, allocations: 0 / 0.8813 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.6115, allocations: 31.98 kB / 0.8813 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.6117, allocations: 83.33 kB / 0.8814 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6118, allocations: 4 kB / 0.8814 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.615, allocations: 4.935 MB / 0.8862 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6151, allocations: 0 / 0.8862 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.6156, allocations: 399.1 kB / 0.8866 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.6157, allocations: 96.83 kB / 0.8867 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.6157, allocations: 0 / 0.8867 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.6159, allocations: 23.78 kB / 0.8867 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.616, allocations: 16.05 kB / 0.8867 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.616, allocations: 4 kB / 0.8867 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001655/0.6162, allocations: 182 kB / 0.8869 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6162, allocations: 4 kB / 0.8869 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004819/0.6166, allocations: 99.84 kB / 0.887 GB, free: 9.625 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.0008543/0.6175, allocations: 0.9277 MB / 0.8879 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008293/0.6183, allocations: 0.6168 MB / 0.8885 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6184, allocations: 4.25 kB / 0.8885 GB, free: 8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.6189, allocations: 0.4913 MB / 0.889 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.6193, allocations: 41.66 kB / 0.889 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.6205, allocations: 0.6693 MB / 0.8897 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.6209, allocations: 0.7716 MB / 0.8905 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.621, allocations: 26.08 kB / 0.8905 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6211, allocations: 83.41 kB / 0.8906 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/0.6211, allocations: 4 kB / 0.8906 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4384/1.06, allocations: 5.722 MB / 0.8961 GB, free: 144 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3961/1.456, allocations: 162.9 kB / 0.8963 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.503, allocations: 2.25 kB / 0.8963 GB, free: 137.5 MB / 0.5573 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)