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: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001013/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 273.5 kB / 291.4 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9529/0.9529, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 14.78 kB / 0.598 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.00256/0.1352, allocations: 2.478 MB / 0.6869 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.1361, allocations: 0.6477 MB / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1363, allocations: 11.94 kB / 0.6875 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1364, allocations: 51.67 kB / 0.6876 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1366, allocations: 104.2 kB / 0.6877 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1367, allocations: 36.69 kB / 0.6877 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.137, allocations: 342.1 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1372, allocations: 77.64 kB / 0.6881 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1374, allocations: 119.5 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.1375, allocations: 135.3 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.1376, allocations: 17.34 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.1376, allocations: 12 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.1377, allocations: 47.77 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.1377, allocations: 78.23 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1379, allocations: 227.6 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1379, allocations: 1.656 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1379, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.138, allocations: 0 / 0.6887 GB, free: 11.12 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.0006455/0.1386, allocations: 0.541 MB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1386, allocations: 8.031 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.1387, allocations: 35.58 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.139, allocations: 283 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.139, allocations: 28.5 kB / 0.6896 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.1391, allocations: 24 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.1395, allocations: 232.9 kB / 0.6898 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1395, allocations: 3.984 kB / 0.6898 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.1395, allocations: 12 kB / 0.6899 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1395, allocations: 8 kB / 0.6899 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.1399, allocations: 198.1 kB / 0.6901 GB, free: 9.68 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.001398/0.1413, allocations: 1.305 MB / 0.6913 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.1421, allocations: 262.4 kB / 0.6916 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1422, allocations: 64.84 kB / 0.6916 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1422, allocations: 7.984 kB / 0.6916 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1423, allocations: 30.56 kB / 0.6917 GB, free: 7.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1423, allocations: 0 / 0.6917 GB, free: 7.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001069/0.1433, allocations: 0.663 MB / 0.6923 GB, free: 7.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.1434, allocations: 55.39 kB / 0.6924 GB, free: 7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1436, allocations: 283.2 kB / 0.6926 GB, free: 6.715 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1437, allocations: 25.7 kB / 0.6927 GB, free: 6.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1438, allocations: 227.1 kB / 0.6929 GB, free: 6.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.1438, allocations: 63.19 kB / 0.6929 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1439, allocations: 4 kB / 0.693 GB, free: 6.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.144, allocations: 346.8 kB / 0.6933 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1441, allocations: 76.34 kB / 0.6934 GB, free: 5.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1444, allocations: 194.2 kB / 0.6935 GB, free: 5.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.1446, allocations: 112.2 kB / 0.6936 GB, free: 5.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1446, allocations: 0 / 0.6936 GB, free: 5.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006768/0.1453, allocations: 421.8 kB / 0.6941 GB, free: 5.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1453, allocations: 8 kB / 0.6941 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1453, allocations: 3.984 kB / 0.6941 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.1456, allocations: 91.33 kB / 0.6942 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1459, allocations: 79.84 kB / 0.6942 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.149, allocations: 5.124 MB / 0.6992 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1493, allocations: 43.69 kB / 0.6993 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.1493, allocations: 16 kB / 0.6993 GB, free: 15.28 MB / 0.4981 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" 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 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 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 (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.0002689/0.1496, allocations: 188.1 kB / 0.6995 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1496, allocations: 27.7 kB / 0.6995 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.1497, allocations: 30.31 kB / 0.6995 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1497, allocations: 3.984 kB / 0.6995 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1497, allocations: 7.938 kB / 0.6995 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1497, allocations: 4 kB / 0.6995 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.15, allocations: 305.4 kB / 0.6998 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.15, allocations: 0 / 0.6998 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1502, allocations: 31.98 kB / 0.6999 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.1505, allocations: 83.33 kB / 0.6999 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1505, allocations: 7.984 kB / 0.6999 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.1535, allocations: 5.108 MB / 0.7049 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1535, allocations: 0 / 0.7049 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.1541, allocations: 425.7 kB / 0.7053 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.1542, allocations: 96.83 kB / 0.7054 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.1542, allocations: 8.062 kB / 0.7054 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1544, allocations: 19.83 kB / 0.7055 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1545, allocations: 11.98 kB / 0.7055 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1545, allocations: 4 kB / 0.7055 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001628/0.1546, allocations: 190 kB / 0.7057 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1546, allocations: 3.938 kB / 0.7057 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000441/0.1551, allocations: 92 kB / 0.7057 GB, free: 8.012 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 (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 9.826e-05/0.1552, allocations: 105.7 kB / 0.7058 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007509/0.156, allocations: 0.6664 MB / 0.7065 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.156, allocations: 0 / 0.7065 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.1565, allocations: 0.5386 MB / 0.707 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1569, allocations: 60.48 kB / 0.7071 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.158, allocations: 0.9382 MB / 0.708 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1583, allocations: 0.7606 MB / 0.7087 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.1584, allocations: 38.89 kB / 0.7088 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.1585, allocations: 27.42 kB / 0.7088 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/0.1585, allocations: 0 / 0.7088 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.006862/0.1654, allocations: 3.55 MB / 0.7123 GB, free: 1.211 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)