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.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 286.4 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8942/0.8942, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 97.97 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1496, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004177/0.1538, allocations: 2.903 MB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.155, allocations: 0.7049 MB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.1552, allocations: 15.94 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.1555, allocations: 63.42 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1558, allocations: 126.9 kB / 0.684 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.156, allocations: 47.94 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.1564, allocations: 370.1 kB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1566, allocations: 112.1 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.1568, allocations: 135.5 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.157, allocations: 151.3 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.1571, allocations: 24 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.1571, allocations: 24 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1572, allocations: 59.7 kB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1573, allocations: 155.3 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1576, allocations: 314.8 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1576, allocations: 4 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1576, allocations: 0 / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1577, allocations: 0 / 0.6853 GB, free: 11.39 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.0007592/0.1584, allocations: 0.5729 MB / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1585, allocations: 12.03 kB / 0.6859 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.1585, allocations: 66.66 kB / 0.686 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.1586, allocations: 32.56 kB / 0.686 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1589, allocations: 279.7 kB / 0.6863 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1589, allocations: 20.94 kB / 0.6863 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.159, allocations: 32.28 kB / 0.6863 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.1594, allocations: 237 kB / 0.6865 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1594, allocations: 3.938 kB / 0.6865 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1594, allocations: 8 kB / 0.6865 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1594, allocations: 12 kB / 0.6866 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1598, allocations: 194.2 kB / 0.6867 GB, free: 9.84 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.001411/0.1612, allocations: 1.281 MB / 0.688 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.1619, allocations: 262.4 kB / 0.6882 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1621, allocations: 64.83 kB / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1621, allocations: 4 kB / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.1621, allocations: 30.56 kB / 0.6883 GB, free: 8.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1621, allocations: 0 / 0.6883 GB, free: 8.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001067/0.1632, allocations: 0.663 MB / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1632, allocations: 59.34 kB / 0.689 GB, free: 7.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1635, allocations: 283.2 kB / 0.6893 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1635, allocations: 25.7 kB / 0.6893 GB, free: 6.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1636, allocations: 219.3 kB / 0.6896 GB, free: 6.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.1637, allocations: 59.11 kB / 0.6896 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.1638, allocations: 73.53 kB / 0.6897 GB, free: 6.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.1639, allocations: 338.8 kB / 0.69 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.164, allocations: 80.34 kB / 0.6901 GB, free: 6.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1643, allocations: 186.4 kB / 0.6903 GB, free: 5.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.1653, allocations: 0.4928 MB / 0.6907 GB, free: 5.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1653, allocations: 0 / 0.6907 GB, free: 5.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006751/0.166, allocations: 428.6 kB / 0.6911 GB, free: 4.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.166, allocations: 9.562 kB / 0.6912 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.166, allocations: 4 kB / 0.6912 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.1663, allocations: 83.39 kB / 0.6912 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.1666, allocations: 79.84 kB / 0.6913 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.1698, allocations: 5.519 MB / 0.6967 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1701, allocations: 39.53 kB / 0.6967 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1701, allocations: 16 kB / 0.6968 GB, free: 14.56 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = 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.0002715/0.1704, allocations: 184.7 kB / 0.6969 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.1704, allocations: 27.66 kB / 0.697 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.1705, allocations: 34.3 kB / 0.697 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1705, allocations: 0 / 0.697 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1705, allocations: 8 kB / 0.697 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1705, allocations: 4 kB / 0.697 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.1708, allocations: 305.3 kB / 0.6973 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1708, allocations: 0 / 0.6973 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.171, allocations: 31.97 kB / 0.6973 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.1712, allocations: 87.33 kB / 0.6974 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1713, allocations: 4 kB / 0.6974 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.1744, allocations: 5.511 MB / 0.7028 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1744, allocations: 0 / 0.7028 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.175, allocations: 414.4 kB / 0.7032 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.1751, allocations: 108.8 kB / 0.7033 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1752, allocations: 3.984 kB / 0.7033 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1753, allocations: 8 kB / 0.7033 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.1754, allocations: 19.92 kB / 0.7033 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1754, allocations: 4 kB / 0.7033 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001567/0.1755, allocations: 193.9 kB / 0.7035 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1755, allocations: 4 kB / 0.7035 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004178/0.176, allocations: 91.91 kB / 0.7036 GB, free: 6.875 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.000836/0.1768, allocations: 0.9525 MB / 0.7045 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000762/0.1776, allocations: 0.6626 MB / 0.7052 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1776, allocations: 0 / 0.7052 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.1781, allocations: 0.5309 MB / 0.7057 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1785, allocations: 60.81 kB / 0.7058 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.182, allocations: 3.152 MB / 0.7088 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1823, allocations: 0.7684 MB / 0.7096 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.1825, allocations: 30.95 kB / 0.7096 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1826, allocations: 87.41 kB / 0.7097 GB, free: 292 kB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1826, allocations: 0 / 0.7097 GB, free: 292 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/0.4959, allocations: 6.9 MB / 0.7164 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.521/10.02, allocations: 7.875 kB / 0.7164 GB, free: 9.547 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)