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.0008276/0.0008278, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.003939/0.003939, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.15/1.15, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00159/0.00159, allocations: 278.9 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8151/0.8151, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004145, allocations: 14.77 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 88.53 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.002341/0.1268, allocations: 2.571 MB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.1276, allocations: 0.6862 MB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.1277, allocations: 11.94 kB / 0.6884 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.1278, allocations: 54.52 kB / 0.6885 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.128, allocations: 115.1 kB / 0.6886 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.1281, allocations: 35.97 kB / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.1284, allocations: 362.1 kB / 0.689 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1285, allocations: 91.8 kB / 0.689 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1287, allocations: 123.4 kB / 0.6892 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1288, allocations: 135.3 kB / 0.6893 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1289, allocations: 12.75 kB / 0.6893 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.347e-05/0.1289, allocations: 16 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.129, allocations: 46.23 kB / 0.6894 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1291, allocations: 168.9 kB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1293, allocations: 298.8 kB / 0.6898 GB, free: 10.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1293, allocations: 0 / 0.6898 GB, free: 10.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1293, allocations: 3.938 kB / 0.6898 GB, free: 10.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1293, allocations: 0 / 0.6898 GB, free: 10.28 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.0005572/0.1299, allocations: 0.5345 MB / 0.6903 GB, free: 9.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1299, allocations: 12.03 kB / 0.6903 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.13, allocations: 62.67 kB / 0.6904 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.13, allocations: 40.55 kB / 0.6904 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1303, allocations: 291.5 kB / 0.6907 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1303, allocations: 21.59 kB / 0.6907 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.1303, allocations: 25.09 kB / 0.6908 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.1307, allocations: 237.9 kB / 0.691 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1307, allocations: 0 / 0.691 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1308, allocations: 8.625 kB / 0.691 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1308, allocations: 8 kB / 0.691 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1311, allocations: 199.5 kB / 0.6912 GB, free: 8.773 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.001232/0.1323, allocations: 1.305 MB / 0.6925 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.133, allocations: 262.5 kB / 0.6927 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1331, allocations: 60.84 kB / 0.6928 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1332, allocations: 4 kB / 0.6928 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1332, allocations: 38.5 kB / 0.6928 GB, free: 6.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1332, allocations: 0 / 0.6928 GB, free: 6.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009894/0.1342, allocations: 0.6593 MB / 0.6935 GB, free: 6.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.1342, allocations: 55.41 kB / 0.6935 GB, free: 6.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1345, allocations: 287.2 kB / 0.6938 GB, free: 5.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1345, allocations: 25.7 kB / 0.6938 GB, free: 5.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1346, allocations: 219.3 kB / 0.694 GB, free: 5.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.1346, allocations: 63.11 kB / 0.6941 GB, free: 5.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1347, allocations: 37.7 kB / 0.6941 GB, free: 5.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.1348, allocations: 338.8 kB / 0.6944 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1349, allocations: 80.34 kB / 0.6945 GB, free: 5.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1351, allocations: 198.2 kB / 0.6947 GB, free: 4.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.1361, allocations: 0.4961 MB / 0.6952 GB, free: 4.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1361, allocations: 4 kB / 0.6952 GB, free: 4.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006186/0.1367, allocations: 436.5 kB / 0.6956 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1368, allocations: 6.188 kB / 0.6956 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1368, allocations: 4 kB / 0.6956 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.137, allocations: 87.39 kB / 0.6957 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1373, allocations: 79.89 kB / 0.6958 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.14, allocations: 5.135 MB / 0.7008 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1402, allocations: 39.59 kB / 0.7008 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1402, allocations: 16 kB / 0.7008 GB, free: 13.88 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.0002158/0.1404, allocations: 196.6 kB / 0.701 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1405, allocations: 23.72 kB / 0.7011 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.1405, allocations: 34.3 kB / 0.7011 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1405, allocations: 8 kB / 0.7011 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1406, allocations: 0 / 0.7011 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1406, allocations: 3.984 kB / 0.7011 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1408, allocations: 305.3 kB / 0.7014 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1408, allocations: 0 / 0.7014 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.141, allocations: 35.92 kB / 0.7014 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.1412, allocations: 79.39 kB / 0.7015 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1413, allocations: 8 kB / 0.7015 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.1439, allocations: 5.12 MB / 0.7065 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1439, allocations: 0 / 0.7065 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.1445, allocations: 433.6 kB / 0.7069 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.1445, allocations: 100.8 kB / 0.707 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1446, allocations: 12.19 kB / 0.707 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1447, allocations: 7.938 kB / 0.707 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1448, allocations: 19.97 kB / 0.7071 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1448, allocations: 4 kB / 0.7071 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001572/0.1449, allocations: 190 kB / 0.7072 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 0.7072 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003747/0.1453, allocations: 99.84 kB / 0.7073 GB, free: 6.594 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.0008025/0.1461, allocations: 0.9608 MB / 0.7083 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006902/0.1468, allocations: 0.6742 MB / 0.7089 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1469, allocations: 0 / 0.7089 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.1473, allocations: 0.5282 MB / 0.7095 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1477, allocations: 56.56 kB / 0.7095 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.151, allocations: 3.344 MB / 0.7128 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1512, allocations: 0.7683 MB / 0.7135 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.1514, allocations: 38.95 kB / 0.7136 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.1515, allocations: 83.41 kB / 0.7136 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.1515, allocations: 0 / 0.7136 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.623/4.775, allocations: 6.476 MB / 0.72 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/4.775, allocations: 234.8 kB / 0.7202 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/6.841, allocations: 2.953 kB / 0.7202 GB, free: 9.27 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)