Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",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.008142/0.008142, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.002108/0.002108, allocations: 196.1 kB / 16.68 MB, free: 5.523 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8364/0.8364, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 71.12 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.005241/0.1604, allocations: 3.6 MB / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.1646, allocations: 2.22 MB / 0.6649 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.1649, allocations: 15.94 kB / 0.6649 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.1661, allocations: 434.4 kB / 0.6653 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.1666, allocations: 174.8 kB / 0.6655 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.167, allocations: 143.8 kB / 0.6656 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1683, allocations: 1.142 MB / 0.6667 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.1687, allocations: 326.4 kB / 0.6671 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.1693, allocations: 446.3 kB / 0.6675 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.1698, allocations: 426.1 kB / 0.6679 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.17, allocations: 68 kB / 0.668 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1701, allocations: 68 kB / 0.668 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.1703, allocations: 187.3 kB / 0.6682 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.1707, allocations: 413.8 kB / 0.6686 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1719, allocations: 1.14 MB / 0.6697 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1719, allocations: 3.984 kB / 0.6697 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1719, allocations: 3.938 kB / 0.6697 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.1719, allocations: 0 / 0.6697 GB, free: 3.148 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001938/0.1739, allocations: 1.217 MB / 0.6709 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1739, allocations: 12.03 kB / 0.6709 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.135e-05/0.174, allocations: 62.66 kB / 0.671 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1741, allocations: 100.3 kB / 0.6711 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.176, allocations: 1.133 MB / 0.6722 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1761, allocations: 24.5 kB / 0.6722 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.1761, allocations: 32 kB / 0.6722 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.1768, allocations: 382.7 kB / 0.6726 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1768, allocations: 0 / 0.6726 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.1768, allocations: 12 kB / 0.6726 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1769, allocations: 4 kB / 0.6726 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.1774, allocations: 273.4 kB / 0.6729 GB, free: 15.79 MB / 0.5137 GB 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.002549/0.18, allocations: 2.016 MB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.1808, allocations: 354.5 kB / 0.6752 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.1811, allocations: 148.8 kB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1812, allocations: 7.938 kB / 0.6753 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.1815, allocations: 183.2 kB / 0.6755 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.1815, allocations: 0 / 0.6755 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001155/0.1827, allocations: 0.555 MB / 0.676 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1827, allocations: 63.34 kB / 0.6761 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.184, allocations: 0.9973 MB / 0.6771 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1841, allocations: 29.7 kB / 0.6771 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.1844, allocations: 380.5 kB / 0.6775 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.1845, allocations: 71.42 kB / 0.6775 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.1846, allocations: 53.88 kB / 0.6776 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1848, allocations: 314 kB / 0.6779 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.185, allocations: 128.4 kB / 0.678 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.1853, allocations: 207 kB / 0.6782 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.1859, allocations: 311.4 kB / 0.6785 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1859, allocations: 0 / 0.6785 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007667/0.1867, allocations: 452.5 kB / 0.6789 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1867, allocations: 11.98 kB / 0.6789 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1867, allocations: 4 kB / 0.6789 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.1869, allocations: 45.06 kB / 0.679 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1871, allocations: 67.88 kB / 0.6791 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.1885, allocations: 1.589 MB / 0.6806 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.1889, allocations: 55.8 kB / 0.6807 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.189, allocations: 8 kB / 0.6807 GB, free: 7.359 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004081/0.1894, allocations: 346.2 kB / 0.681 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.1895, allocations: 87.42 kB / 0.6811 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.1896, allocations: 91.58 kB / 0.6812 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1896, allocations: 7.984 kB / 0.6812 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1896, allocations: 0 / 0.6812 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1896, allocations: 3.938 kB / 0.6812 GB, free: 6.824 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.001698/0.1914, allocations: 1.222 MB / 0.6824 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1914, allocations: 0 / 0.6824 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.1916, allocations: 43.91 kB / 0.6824 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.1917, allocations: 36.83 kB / 0.6825 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1917, allocations: 11.98 kB / 0.6825 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.1931, allocations: 1.597 MB / 0.684 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1932, allocations: 3.969 kB / 0.684 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.1942, allocations: 0.6181 MB / 0.6846 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.1944, allocations: 172.6 kB / 0.6848 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.1944, allocations: 15.94 kB / 0.6848 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.1947, allocations: 23.95 kB / 0.6848 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.1948, allocations: 15.98 kB / 0.6848 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1948, allocations: 7.938 kB / 0.6849 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009953/0.1958, allocations: 0.7253 MB / 0.6856 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1958, allocations: 0 / 0.6856 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004667/0.1963, allocations: 115.9 kB / 0.6857 GB, free: 1.938 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Etot,layMul.monLay[1].monLayDyn.T[1],layMul.monLay[1].monLayDyn.T[2],layMul.monLay[2].monLayDyn.T[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001637/0.198, allocations: 1.18 MB / 0.6868 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008288/0.1988, allocations: 398.4 kB / 0.6872 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1988, allocations: 0 / 0.6872 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.1993, allocations: 266.1 kB / 0.6875 GB, free: 44 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.2002, allocations: 178.5 kB / 0.6876 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.2108, allocations: 7.378 MB / 0.6948 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008943/0.2117, allocations: 1.113 MB / 0.6959 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004512/0.2122, allocations: 161.3 kB / 0.6961 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/0.2126, allocations: 259.3 kB / 0.6963 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of SimCode: time 1.203e-06/0.2126, allocations: 0 / 0.6963 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.2611, allocations: 16.51 MB / 0.7124 GB, free: 6.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.05, allocations: 4.656 kB / 0.7125 GB, free: 6.586 MB / 0.545 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp_res.csv --start-time 0 --stop-time 500000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 200 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)