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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00135/0.00135, allocations: 194.7 kB / 16.14 MB, free: 6.707 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.11/1.11, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 290.3 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8011/0.8011, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 88.62 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 86.98 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003063/0.1135, allocations: 2.936 MB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.1142, allocations: 0.6983 MB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.1143, allocations: 15.88 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1145, allocations: 51.67 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1147, allocations: 111.1 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.1148, allocations: 51.89 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.115, allocations: 350.2 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1152, allocations: 96.62 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1153, allocations: 127.5 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1155, allocations: 147.3 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.1155, allocations: 19.94 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.1155, allocations: 16 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.1156, allocations: 51.77 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1157, allocations: 143.3 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1159, allocations: 298.9 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1159, allocations: 0 / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1159, allocations: 0 / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1159, allocations: 4 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB 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.0006058/0.1165, allocations: 0.5847 MB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1166, allocations: 8.031 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.1166, allocations: 62.72 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.1167, allocations: 32.56 kB / 0.6852 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1169, allocations: 283.6 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1169, allocations: 24.94 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.117, allocations: 28.28 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1173, allocations: 241 kB / 0.6857 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1173, allocations: 4 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1174, allocations: 8 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1174, allocations: 11.98 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.1177, allocations: 190.1 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB 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.001187/0.1189, allocations: 1.289 MB / 0.6872 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.1196, allocations: 254.4 kB / 0.6874 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1197, allocations: 71.22 kB / 0.6875 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1197, allocations: 0 / 0.6875 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1197, allocations: 38.56 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 8.42e-07/0.1198, allocations: 0 / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009337/0.1207, allocations: 0.6456 MB / 0.6882 GB, free: 7.883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.1207, allocations: 55.41 kB / 0.6882 GB, free: 7.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1209, allocations: 283.2 kB / 0.6885 GB, free: 7.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.121, allocations: 29.7 kB / 0.6885 GB, free: 7.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1211, allocations: 231.2 kB / 0.6887 GB, free: 7.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.1211, allocations: 63.09 kB / 0.6888 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.1212, allocations: 65.61 kB / 0.6889 GB, free: 7.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.1213, allocations: 338.8 kB / 0.6892 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1214, allocations: 84.27 kB / 0.6893 GB, free: 6.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1216, allocations: 182.2 kB / 0.6894 GB, free: 6.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.1225, allocations: 0.4921 MB / 0.6899 GB, free: 5.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1226, allocations: 0 / 0.6899 GB, free: 5.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005922/0.1232, allocations: 428.2 kB / 0.6903 GB, free: 5.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1232, allocations: 8 kB / 0.6903 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1232, allocations: 4.406 kB / 0.6903 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.1234, allocations: 83.39 kB / 0.6904 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1237, allocations: 75.84 kB / 0.6905 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1263, allocations: 5.124 MB / 0.6955 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1265, allocations: 43.58 kB / 0.6955 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1266, allocations: 16 kB / 0.6955 GB, free: 15.6 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = max(0.0, 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.0002114/0.1268, allocations: 194.6 kB / 0.6957 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.1268, allocations: 31.62 kB / 0.6958 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.1269, allocations: 30.3 kB / 0.6958 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1269, allocations: 0 / 0.6958 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1269, allocations: 0 / 0.6958 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1269, allocations: 4 kB / 0.6958 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1272, allocations: 305.4 kB / 0.6961 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1272, allocations: 0 / 0.6961 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.1274, allocations: 35.97 kB / 0.6961 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.1276, allocations: 79.39 kB / 0.6962 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1276, allocations: 8 kB / 0.6962 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.1302, allocations: 5.108 MB / 0.7012 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1302, allocations: 8.172 kB / 0.7012 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.1308, allocations: 420.7 kB / 0.7016 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1308, allocations: 108.8 kB / 0.7017 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1309, allocations: 8.062 kB / 0.7017 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.131, allocations: 8 kB / 0.7017 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.131, allocations: 23.95 kB / 0.7017 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1311, allocations: 4 kB / 0.7017 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001357/0.1312, allocations: 190 kB / 0.7019 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1312, allocations: 0 / 0.7019 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003533/0.1316, allocations: 95.84 kB / 0.702 GB, free: 8.332 MB / 0.4981 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.0007315/0.1323, allocations: 0.9651 MB / 0.703 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006222/0.1329, allocations: 0.6592 MB / 0.7036 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1329, allocations: 0 / 0.7036 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.1334, allocations: 0.5299 MB / 0.7041 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1338, allocations: 58.67 kB / 0.7042 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.1368, allocations: 3.234 MB / 0.7073 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.137, allocations: 0.7684 MB / 0.7081 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.1372, allocations: 34.95 kB / 0.7081 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.1373, allocations: 87.41 kB / 0.7082 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1373, allocations: 0 / 0.7082 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.993/6.13, allocations: 6.586 MB / 0.7146 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/6.13, allocations: 246.9 kB / 0.7149 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/8.048, allocations: 8 kB / 0.7149 GB, free: 10.97 MB / 0.5137 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)