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.001155/0.001155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001154/0.001154, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 294.8 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8473/0.8473, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 91.09 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.0035/0.1323, allocations: 2.946 MB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.1332, allocations: 0.6922 MB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1333, allocations: 15.88 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1335, allocations: 47.67 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1337, allocations: 111.2 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.1338, allocations: 43.91 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.1341, allocations: 362.2 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1342, allocations: 116.1 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1344, allocations: 139.4 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1346, allocations: 151.3 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1346, allocations: 20 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.269e-05/0.1347, allocations: 32 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.1347, allocations: 55.7 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1348, allocations: 159.2 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1351, allocations: 302.9 kB / 0.6848 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1351, allocations: 0 / 0.6848 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1351, allocations: 4 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1351, allocations: 0 / 0.6848 GB, free: 11.77 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.0006585/0.1358, allocations: 0.5847 MB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1358, allocations: 11.97 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.1359, allocations: 58.73 kB / 0.6854 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.1359, allocations: 36.56 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1361, allocations: 283.6 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1362, allocations: 16.94 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1362, allocations: 28.28 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.1366, allocations: 245 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1366, allocations: 3.984 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1366, allocations: 12 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1366, allocations: 8 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.137, allocations: 198.1 kB / 0.6862 GB, free: 10.21 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.001255/0.1382, allocations: 1.274 MB / 0.6874 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.139, allocations: 270.4 kB / 0.6877 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1391, allocations: 60.84 kB / 0.6878 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1391, allocations: 4 kB / 0.6878 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.1392, allocations: 30.56 kB / 0.6878 GB, free: 8.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.1392, allocations: 0 / 0.6878 GB, free: 8.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001/0.1402, allocations: 0.6534 MB / 0.6884 GB, free: 7.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1402, allocations: 55.41 kB / 0.6885 GB, free: 7.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1404, allocations: 287.2 kB / 0.6888 GB, free: 7.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1405, allocations: 25.7 kB / 0.6888 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1406, allocations: 219.3 kB / 0.689 GB, free: 7.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.1406, allocations: 63.09 kB / 0.6891 GB, free: 6.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.1407, allocations: 65.61 kB / 0.6891 GB, free: 6.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.1408, allocations: 346.8 kB / 0.6894 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1409, allocations: 80.28 kB / 0.6895 GB, free: 6.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1411, allocations: 190.2 kB / 0.6897 GB, free: 6.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009605/0.1421, allocations: 496.7 kB / 0.6902 GB, free: 5.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1421, allocations: 0 / 0.6902 GB, free: 5.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006133/0.1427, allocations: 432.6 kB / 0.6906 GB, free: 5.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1428, allocations: 10.34 kB / 0.6906 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.1428, allocations: 4 kB / 0.6906 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.143, allocations: 83.39 kB / 0.6907 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1433, allocations: 79.84 kB / 0.6908 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.1463, allocations: 5.515 MB / 0.6961 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1465, allocations: 35.59 kB / 0.6962 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1465, allocations: 23.94 kB / 0.6962 GB, free: 14.94 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.0002288/0.1468, allocations: 185.5 kB / 0.6964 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.1468, allocations: 27.66 kB / 0.6964 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.1469, allocations: 38.3 kB / 0.6964 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1469, allocations: 0 / 0.6964 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1469, allocations: 4 kB / 0.6964 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.1469, allocations: 0 / 0.6964 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1472, allocations: 317.3 kB / 0.6967 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1472, allocations: 0 / 0.6967 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.1474, allocations: 31.98 kB / 0.6968 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.1476, allocations: 87.33 kB / 0.6969 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1477, allocations: 4 kB / 0.6969 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.1506, allocations: 5.511 MB / 0.7022 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1506, allocations: 0 / 0.7022 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.1511, allocations: 416 kB / 0.7026 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1512, allocations: 108.8 kB / 0.7027 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1513, allocations: 4 kB / 0.7028 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1514, allocations: 11.91 kB / 0.7028 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1515, allocations: 15.97 kB / 0.7028 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1515, allocations: 8 kB / 0.7028 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001443/0.1516, allocations: 197.9 kB / 0.703 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1516, allocations: 0 / 0.703 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003797/0.152, allocations: 87.94 kB / 0.7031 GB, free: 7.238 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.0007774/0.1528, allocations: 0.9554 MB / 0.704 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.1535, allocations: 0.6703 MB / 0.7046 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1535, allocations: 0 / 0.7046 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.154, allocations: 0.5308 MB / 0.7052 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1544, allocations: 65.64 kB / 0.7052 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.1576, allocations: 3.248 MB / 0.7084 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1579, allocations: 0.7606 MB / 0.7091 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.158, allocations: 34.95 kB / 0.7092 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1581, allocations: 87.41 kB / 0.7093 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1581, allocations: 0 / 0.7093 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.657/2.815, allocations: 6.814 MB / 0.7159 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/2.815, allocations: 239.8 kB / 0.7161 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/4.791, allocations: 7.938 kB / 0.7161 GB, free: 9.676 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)