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.00127/0.00127, allocations: 108 kB / 15.6 MB, free: 132 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.001183/0.001183, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.39 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4362, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.004747/0.441, allocations: 3.604 MB / 0.5837 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.4445, allocations: 2.225 MB / 0.5859 GB, free: 436 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.445, allocations: 13.72 kB / 0.5859 GB, free: 432 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.4464, allocations: 450.5 kB / 0.5863 GB, free: 220 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.4469, allocations: 171.8 kB / 0.5865 GB, free: 112 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.4473, allocations: 143.6 kB / 0.5866 GB, free: 28 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4487, allocations: 1.13 MB / 0.5877 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.4492, allocations: 311.5 kB / 0.588 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007366/0.45, allocations: 450.7 kB / 0.5885 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.4506, allocations: 427 kB / 0.5889 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.4507, allocations: 72.12 kB / 0.5889 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.4509, allocations: 69.53 kB / 0.589 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.4511, allocations: 187.9 kB / 0.5892 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.4516, allocations: 407.3 kB / 0.5896 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.453, allocations: 1.122 MB / 0.5907 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.453, allocations: 1.438 kB / 0.5907 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.453, allocations: 0 / 0.5907 GB, free: 14.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.453, allocations: 0 / 0.5907 GB, free: 14.19 MB / 446.1 MB 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.00222/0.4553, allocations: 1.201 MB / 0.5918 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4553, allocations: 9.406 kB / 0.5919 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.4554, allocations: 66.03 kB / 0.5919 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.4556, allocations: 87.25 kB / 0.592 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.4576, allocations: 1.105 MB / 0.5931 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.4576, allocations: 23.19 kB / 0.5931 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.4577, allocations: 27.81 kB / 0.5931 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.4585, allocations: 384.9 kB / 0.5935 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4586, allocations: 1.609 kB / 0.5935 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.4586, allocations: 10.5 kB / 0.5935 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.4586, allocations: 6.812 kB / 0.5935 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.4592, allocations: 275.7 kB / 0.5938 GB, free: 12.34 MB / 446.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.003327/0.4626, allocations: 2.034 MB / 0.5958 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.4634, allocations: 345.8 kB / 0.5961 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.4637, allocations: 145 kB / 0.5962 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.4637, allocations: 10.97 kB / 0.5962 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.464, allocations: 174.8 kB / 0.5964 GB, free: 10.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.464, allocations: 0 / 0.5964 GB, free: 10.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001317/0.4653, allocations: 0.5697 MB / 0.597 GB, free: 10.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4654, allocations: 54.22 kB / 0.597 GB, free: 9.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.4668, allocations: 0.9955 MB / 0.598 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4669, allocations: 32.2 kB / 0.598 GB, free: 9.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.4672, allocations: 376.9 kB / 0.5984 GB, free: 9.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.4673, allocations: 67.86 kB / 0.5984 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.4674, allocations: 54.66 kB / 0.5985 GB, free: 8.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.4675, allocations: 321.9 kB / 0.5988 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.4677, allocations: 116.7 kB / 0.5989 GB, free: 8.594 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.468, allocations: 213.4 kB / 0.5991 GB, free: 8.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.4685, allocations: 310.4 kB / 0.5994 GB, free: 8.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4685, allocations: 4 kB / 0.5994 GB, free: 8.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007992/0.4693, allocations: 443.9 kB / 0.5998 GB, free: 7.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4694, allocations: 6.188 kB / 0.5998 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.4694, allocations: 1.438 kB / 0.5999 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.4696, allocations: 49.27 kB / 0.5999 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.4698, allocations: 56.58 kB / 0.6 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.471, allocations: 1.599 MB / 0.6015 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.4716, allocations: 58.89 kB / 0.6016 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4716, allocations: 14.58 kB / 0.6016 GB, free: 6.332 MB / 446.1 MB 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.0005091/0.4721, allocations: 353.9 kB / 0.6019 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4722, allocations: 74.28 kB / 0.602 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.4724, allocations: 89.12 kB / 0.6021 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4724, allocations: 1.375 kB / 0.6021 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4724, allocations: 1.062 kB / 0.6021 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4724, allocations: 3.938 kB / 0.6021 GB, free: 5.98 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.001534/0.4739, allocations: 1.226 MB / 0.6033 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4739, allocations: 1.125 kB / 0.6033 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.4742, allocations: 40.94 kB / 0.6033 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.4743, allocations: 54.81 kB / 0.6034 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.4743, allocations: 9.219 kB / 0.6034 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4753, allocations: 1.584 MB / 0.6049 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4754, allocations: 5.188 kB / 0.6049 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.4762, allocations: 0.6177 MB / 0.6055 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.4764, allocations: 166.3 kB / 0.6057 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.4765, allocations: 15.89 kB / 0.6057 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.4768, allocations: 25.28 kB / 0.6057 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4769, allocations: 22.56 kB / 0.6058 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.4769, allocations: 9 kB / 0.6058 GB, free: 2.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008941/0.4778, allocations: 0.7177 MB / 0.6065 GB, free: 2.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4778, allocations: 0 / 0.6065 GB, free: 2.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.4783, allocations: 111.9 kB / 0.6066 GB, free: 2.375 MB / 446.1 MB 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.00118/0.4795, allocations: 1.173 MB / 0.6077 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.4803, allocations: 429.2 kB / 0.6081 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4803, allocations: 1.156 kB / 0.6081 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.4807, allocations: 250.9 kB / 0.6084 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.4816, allocations: 184.4 kB / 0.6085 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.4914, allocations: 7.647 MB / 0.616 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.4921, allocations: 1.105 MB / 0.6171 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.4925, allocations: 165.3 kB / 0.6172 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.4929, allocations: 259.4 kB / 0.6175 GB, free: 10.15 MB / 462.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4929, allocations: 0 / 0.6175 GB, free: 10.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.5375, allocations: 16.24 MB / 0.6334 GB, free: 10.24 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.891/9.428, allocations: 1.094 kB / 0.6334 GB, free: 10.24 MB / 478.1 MB (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)