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.001563/0.001563, 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.00173/0.00173, allocations: 191 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 2.208/2.208, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.228/1.228, allocations: 135.1 MB / 425.5 MB, free: 11.94 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.001618/0.001618, allocations: 65.16 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2363, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.006986/0.2434, allocations: 3.628 MB / 0.588 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004747/0.2482, allocations: 2.211 MB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.2493, allocations: 15.94 kB / 0.5902 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.2515, allocations: 446.3 kB / 0.5906 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2525, allocations: 182.8 kB / 0.5908 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.2533, allocations: 143.8 kB / 0.591 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.2555, allocations: 1.186 MB / 0.5921 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006396/0.2561, allocations: 322.4 kB / 0.5924 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2572, allocations: 474.3 kB / 0.5929 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009787/0.2582, allocations: 458 kB / 0.5933 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.2585, allocations: 80 kB / 0.5934 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.2589, allocations: 80 kB / 0.5935 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.2592, allocations: 211.2 kB / 0.5937 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008247/0.26, allocations: 441.7 kB / 0.5941 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2616, allocations: 1.234 MB / 0.5953 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.2617, allocations: 8 kB / 0.5953 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2617, allocations: 0 / 0.5953 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.078e-05/0.2617, allocations: 0 / 0.5953 GB, free: 9.301 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00413/0.2659, allocations: 1.252 MB / 0.5965 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.2659, allocations: 12.03 kB / 0.5965 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.2661, allocations: 66.72 kB / 0.5966 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/0.2664, allocations: 99.66 kB / 0.5967 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.2693, allocations: 1.151 MB / 0.5978 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.2693, allocations: 24.69 kB / 0.5978 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.2694, allocations: 39.91 kB / 0.5979 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000839/0.2703, allocations: 430.9 kB / 0.5983 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2703, allocations: 0 / 0.5983 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.2703, allocations: 12 kB / 0.5983 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2703, allocations: 8 kB / 0.5983 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.2711, allocations: 329.9 kB / 0.5986 GB, free: 5.77 MB / 0.4981 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.003924/0.275, allocations: 2.374 MB / 0.6009 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.2763, allocations: 0.5228 MB / 0.6014 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.2768, allocations: 200.7 kB / 0.6016 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2769, allocations: 0 / 0.6016 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/0.2775, allocations: 238.7 kB / 0.6019 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.2775, allocations: 3.938 kB / 0.6019 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.003243/0.2808, allocations: 1.28 MB / 0.6031 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.2808, allocations: 55.34 kB / 0.6032 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4099/0.6908, allocations: 1.041 MB / 0.6042 GB, free: 53.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.691, allocations: 32.42 kB / 0.6042 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.6915, allocations: 385.4 kB / 0.6046 GB, free: 52.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.6916, allocations: 98.52 kB / 0.6047 GB, free: 52.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.6918, allocations: 57.5 kB / 0.6047 GB, free: 52.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.6919, allocations: 322.6 kB / 0.605 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.6923, allocations: 170.2 kB / 0.6052 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.6928, allocations: 275.8 kB / 0.6055 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.6936, allocations: 428.8 kB / 0.6059 GB, free: 52.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.6937, allocations: 1.875 kB / 0.6059 GB, free: 52.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001386/0.6951, allocations: 0.5667 MB / 0.6064 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6951, allocations: 3.25 kB / 0.6064 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6951, allocations: 5.062 kB / 0.6064 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.6954, allocations: 55.75 kB / 0.6065 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.6958, allocations: 74.3 kB / 0.6066 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.6974, allocations: 1.685 MB / 0.6082 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.6981, allocations: 53.75 kB / 0.6083 GB, free: 50.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.6982, allocations: 8.312 kB / 0.6083 GB, free: 50.61 MB / 0.4981 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.000686/0.6989, allocations: 365.6 kB / 0.6086 GB, free: 50.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.699, allocations: 85.5 kB / 0.6087 GB, free: 50.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.6992, allocations: 99.61 kB / 0.6088 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6992, allocations: 12.39 kB / 0.6088 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.6992, allocations: 0.5625 kB / 0.6088 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.6993, allocations: 7.219 kB / 0.6088 GB, free: 50.34 MB / 0.4981 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.002361/0.7016, allocations: 1.517 MB / 0.6103 GB, free: 49.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7016, allocations: 0 / 0.6103 GB, free: 49.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.702, allocations: 53.88 kB / 0.6103 GB, free: 49.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.7022, allocations: 49.27 kB / 0.6104 GB, free: 49.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.7022, allocations: 17.34 kB / 0.6104 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.7036, allocations: 1.704 MB / 0.6121 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7036, allocations: 7.219 kB / 0.6121 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.705, allocations: 0.782 MB / 0.6128 GB, free: 47.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.7053, allocations: 170.2 kB / 0.613 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.7054, allocations: 19.81 kB / 0.613 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.7059, allocations: 27.55 kB / 0.6131 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.706, allocations: 22.23 kB / 0.6131 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.706, allocations: 12.28 kB / 0.6131 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00133/0.7074, allocations: 0.7509 MB / 0.6138 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7074, allocations: 0 / 0.6138 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007641/0.7082, allocations: 123.9 kB / 0.6139 GB, free: 47.05 MB / 0.4981 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.00198/0.7102, allocations: 1.358 MB / 0.6153 GB, free: 46.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.7117, allocations: 0.5541 MB / 0.6158 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7117, allocations: 0 / 0.6158 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.7123, allocations: 321.4 kB / 0.6161 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.7137, allocations: 184.5 kB / 0.6163 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.7304, allocations: 8.493 MB / 0.6246 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.7314, allocations: 1.133 MB / 0.6257 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008617/0.7322, allocations: 215.1 kB / 0.6259 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.7327, allocations: 282 kB / 0.6262 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.7327, allocations: 0 / 0.6262 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08758/0.8203, allocations: 17.93 MB / 0.6437 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.34, allocations: 9.406 kB / 0.6437 GB, free: 39.24 MB / 0.4981 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)