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.001509/0.001509, 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.001498/0.001498, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002359/0.002359, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 102.5 kB / 0.5953 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.141, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004233/0.1453, allocations: 2.898 MB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1463, allocations: 0.6978 MB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1464, allocations: 14.03 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1467, allocations: 67.42 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1469, allocations: 126.9 kB / 0.684 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.147, allocations: 52.61 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.1474, allocations: 370.1 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1476, allocations: 106.3 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1478, allocations: 140.8 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.148, allocations: 147.3 kB / 0.6848 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.148, allocations: 24.81 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.693e-05/0.1481, allocations: 27.94 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1482, allocations: 63.77 kB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1483, allocations: 151.3 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1486, allocations: 310.9 kB / 0.6853 GB, free: 11.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1487, allocations: 0 / 0.6853 GB, free: 11.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1487, allocations: 0 / 0.6853 GB, free: 11.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1487, allocations: 0 / 0.6853 GB, free: 11.44 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.0008325/0.1495, allocations: 0.5807 MB / 0.6859 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1495, allocations: 12.03 kB / 0.6859 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.1496, allocations: 62.67 kB / 0.686 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.1497, allocations: 32.56 kB / 0.686 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.15, allocations: 279.7 kB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.15, allocations: 20.94 kB / 0.6863 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.1501, allocations: 28.28 kB / 0.6863 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.1505, allocations: 244.9 kB / 0.6865 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1505, allocations: 0 / 0.6865 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1506, allocations: 16 kB / 0.6866 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1506, allocations: 4 kB / 0.6866 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.151, allocations: 194.2 kB / 0.6867 GB, free: 9.883 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.001634/0.1526, allocations: 1.293 MB / 0.688 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.1534, allocations: 258.4 kB / 0.6883 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1536, allocations: 64.84 kB / 0.6883 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1536, allocations: 0 / 0.6883 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1536, allocations: 34.56 kB / 0.6883 GB, free: 8.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.1536, allocations: 0 / 0.6883 GB, free: 8.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001225/0.1549, allocations: 0.6559 MB / 0.689 GB, free: 7.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1549, allocations: 59.34 kB / 0.689 GB, free: 7.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1552, allocations: 287.2 kB / 0.6893 GB, free: 6.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1552, allocations: 29.7 kB / 0.6893 GB, free: 6.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1554, allocations: 211.3 kB / 0.6895 GB, free: 6.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.1555, allocations: 67.08 kB / 0.6896 GB, free: 6.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.1556, allocations: 69.61 kB / 0.6897 GB, free: 6.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1557, allocations: 346.7 kB / 0.69 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1559, allocations: 80.34 kB / 0.6901 GB, free: 6.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1561, allocations: 182.4 kB / 0.6903 GB, free: 5.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1573, allocations: 0.4928 MB / 0.6907 GB, free: 5.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1573, allocations: 0 / 0.6907 GB, free: 5.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007456/0.158, allocations: 428.6 kB / 0.6911 GB, free: 4.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1581, allocations: 4 kB / 0.6912 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1581, allocations: 4 kB / 0.6912 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002821/0.1584, allocations: 91.33 kB / 0.6912 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1587, allocations: 75.89 kB / 0.6913 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/0.1629, allocations: 5.523 MB / 0.6967 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1631, allocations: 35.59 kB / 0.6967 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.1631, allocations: 16 kB / 0.6968 GB, free: 14.6 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.0002654/0.1634, allocations: 174.9 kB / 0.6969 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.1635, allocations: 31.66 kB / 0.697 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.1635, allocations: 30.3 kB / 0.697 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1636, allocations: 8 kB / 0.697 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1636, allocations: 0 / 0.697 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1636, allocations: 3.984 kB / 0.697 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.1639, allocations: 309.3 kB / 0.6973 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1639, allocations: 0 / 0.6973 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1642, allocations: 31.98 kB / 0.6973 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.1644, allocations: 83.33 kB / 0.6974 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1644, allocations: 8 kB / 0.6974 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.1685, allocations: 5.507 MB / 0.7028 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1686, allocations: 0 / 0.7028 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.1692, allocations: 418.4 kB / 0.7032 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.1693, allocations: 108.9 kB / 0.7033 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1694, allocations: 4 kB / 0.7033 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1695, allocations: 8 kB / 0.7033 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1696, allocations: 15.91 kB / 0.7033 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1696, allocations: 8 kB / 0.7033 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00018/0.1698, allocations: 194 kB / 0.7035 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1698, allocations: 4 kB / 0.7035 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004188/0.1702, allocations: 87.91 kB / 0.7036 GB, free: 6.918 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.001008/0.1712, allocations: 0.953 MB / 0.7045 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008791/0.1721, allocations: 0.6703 MB / 0.7052 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1721, allocations: 0 / 0.7052 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.1728, allocations: 0.5309 MB / 0.7057 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1731, allocations: 52.55 kB / 0.7057 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.1771, allocations: 3.161 MB / 0.7088 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1775, allocations: 0.7645 MB / 0.7096 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.1777, allocations: 34.95 kB / 0.7096 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1778, allocations: 87.41 kB / 0.7097 GB, free: 324 kB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1778, allocations: 0 / 0.7097 GB, free: 324 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04329/0.2211, allocations: 6.898 MB / 0.7164 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.365/9.586, allocations: 3.938 kB / 0.7164 GB, free: 9.582 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)