Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_dev_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.001639/0.001639, allocations: 112.5 kB / 15.73 MB, free: 68 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.001973/0.001974, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.6/1.6, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.124/1.124, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5552, allocations: 81.02 MB / 0.6649 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.005908/0.5612, allocations: 3.641 MB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004498/0.5657, allocations: 2.211 MB / 0.6706 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.5666, allocations: 13.22 kB / 0.6706 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.5682, allocations: 449.5 kB / 0.671 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006789/0.569, allocations: 180.1 kB / 0.6712 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.5695, allocations: 143 kB / 0.6713 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.5708, allocations: 1.189 MB / 0.6725 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.5712, allocations: 324.4 kB / 0.6728 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.5719, allocations: 470.5 kB / 0.6733 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.5725, allocations: 466.8 kB / 0.6737 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.5727, allocations: 82.44 kB / 0.6738 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.5728, allocations: 81.41 kB / 0.6739 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.5731, allocations: 203.1 kB / 0.6741 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.5736, allocations: 447.7 kB / 0.6745 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.5752, allocations: 1.246 MB / 0.6757 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.5752, allocations: 0 / 0.6757 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5752, allocations: 1.625 kB / 0.6757 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.5753, allocations: 0 / 0.6757 GB, free: 15.06 MB / 0.5137 GB 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.002906/0.5782, allocations: 1.293 MB / 0.677 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.5782, allocations: 8.5 kB / 0.677 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.5783, allocations: 60.73 kB / 0.677 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.5785, allocations: 98.02 kB / 0.6771 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.5811, allocations: 1.187 MB / 0.6783 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.5811, allocations: 28.28 kB / 0.6783 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.5812, allocations: 32.2 kB / 0.6783 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009018/0.5821, allocations: 432.9 kB / 0.6788 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5822, allocations: 1.438 kB / 0.6788 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.5822, allocations: 10.28 kB / 0.6788 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.5822, allocations: 6.875 kB / 0.6788 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.5829, allocations: 330.6 kB / 0.6791 GB, free: 12.61 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.003765/0.5867, allocations: 2.375 MB / 0.6814 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.588, allocations: 0.5246 MB / 0.6819 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.5884, allocations: 198.3 kB / 0.6821 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5885, allocations: 6.891 kB / 0.6821 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.5889, allocations: 232 kB / 0.6823 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 3.156e-06/0.589, allocations: 0 / 0.6823 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.00297/0.5919, allocations: 1.306 MB / 0.6836 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.592, allocations: 54.88 kB / 0.6837 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.5938, allocations: 1.046 MB / 0.6847 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.5939, allocations: 35.98 kB / 0.6847 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.5944, allocations: 390.4 kB / 0.6851 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.5945, allocations: 91.56 kB / 0.6852 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.5946, allocations: 61.8 kB / 0.6852 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.5948, allocations: 321.4 kB / 0.6855 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.5953, allocations: 174.5 kB / 0.6857 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.5958, allocations: 281 kB / 0.686 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.5967, allocations: 428.3 kB / 0.6864 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5968, allocations: 0 / 0.6864 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001271/0.598, allocations: 0.572 MB / 0.6869 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.5981, allocations: 10.12 kB / 0.687 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5981, allocations: 3.562 kB / 0.687 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.5984, allocations: 53.88 kB / 0.687 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.5987, allocations: 73.53 kB / 0.6871 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.6006, allocations: 1.687 MB / 0.6887 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.6012, allocations: 52.77 kB / 0.6888 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.6012, allocations: 13.03 kB / 0.6888 GB, free: 5.16 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 (34): * Single equations (assignments): 33 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007363/0.602, allocations: 362.9 kB / 0.6891 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.6021, allocations: 85.12 kB / 0.6892 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.6023, allocations: 99.2 kB / 0.6893 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6023, allocations: 1.938 kB / 0.6893 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6024, allocations: 1.875 kB / 0.6893 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.6024, allocations: 11.91 kB / 0.6893 GB, free: 4.781 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.002704/0.6051, allocations: 1.515 MB / 0.6908 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6051, allocations: 1.375 kB / 0.6908 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.6054, allocations: 63.34 kB / 0.6909 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.6056, allocations: 44.23 kB / 0.6909 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.6056, allocations: 17.27 kB / 0.6909 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.6074, allocations: 1.693 MB / 0.6926 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6074, allocations: 5.031 kB / 0.6926 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.6092, allocations: 0.7947 MB / 0.6934 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.6096, allocations: 176.7 kB / 0.6935 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.6097, allocations: 10.62 kB / 0.6935 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.6101, allocations: 30.95 kB / 0.6936 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6102, allocations: 25.91 kB / 0.6936 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.6103, allocations: 10.69 kB / 0.6936 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001718/0.612, allocations: 0.7534 MB / 0.6943 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.612, allocations: 1.406 kB / 0.6943 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007957/0.6128, allocations: 123.3 kB / 0.6945 GB, free: 0.7812 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Etot,layMul.monLay[1].monLayDyn.T[2],layMul.monLay[1].monLayDyn.T[3],layMul.monLay[2].monLayDyn.T[1],layMul.monLay[2].monLayDyn.T[2],layMul.monLay[2].monLayDyn.T[3]) * 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 (23): * Single equations (assignments): 22 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/0.6152, allocations: 1.364 MB / 0.6958 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.6165, allocations: 0.5256 MB / 0.6963 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6166, allocations: 0 / 0.6963 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.6171, allocations: 320.9 kB / 0.6966 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6182, allocations: 189.5 kB / 0.6968 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.6309, allocations: 8.17 MB / 0.7048 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.6318, allocations: 1.132 MB / 0.7059 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006053/0.6324, allocations: 205.6 kB / 0.7061 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.6328, allocations: 279.4 kB / 0.7063 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of SimCode: time 1.392e-06/0.6328, allocations: 4 kB / 0.7063 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/0.6978, allocations: 18.2 MB / 0.7241 GB, free: 3.297 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.57, allocations: 11.42 kB / 0.7241 GB, free: 3.289 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)