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.005935/0.005935, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001296/0.001296, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7423/0.7423, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.19 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.004438/0.1364, allocations: 3.598 MB / 0.6627 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003098/0.1395, allocations: 2.228 MB / 0.6649 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/0.1398, allocations: 11.94 kB / 0.6649 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.141, allocations: 442.4 kB / 0.6653 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.1414, allocations: 182.8 kB / 0.6655 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1418, allocations: 135.8 kB / 0.6656 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1429, allocations: 1.134 MB / 0.6667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.1433, allocations: 322.4 kB / 0.667 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.1439, allocations: 458.3 kB / 0.6675 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.1445, allocations: 434.1 kB / 0.6679 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.1446, allocations: 68 kB / 0.668 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1448, allocations: 68 kB / 0.668 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.145, allocations: 183.3 kB / 0.6682 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.1455, allocations: 413.8 kB / 0.6686 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009801/0.1465, allocations: 1.139 MB / 0.6697 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1465, allocations: 0 / 0.6697 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1465, allocations: 3.938 kB / 0.6697 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.1465, allocations: 0 / 0.6697 GB, free: 15.95 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002043/0.1486, allocations: 1.229 MB / 0.6709 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1486, allocations: 8.031 kB / 0.6709 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.252e-05/0.1487, allocations: 62.72 kB / 0.671 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1489, allocations: 100.3 kB / 0.6711 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.1508, allocations: 1.137 MB / 0.6722 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1508, allocations: 24.5 kB / 0.6722 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.1509, allocations: 32 kB / 0.6722 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.1515, allocations: 382.7 kB / 0.6726 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1515, allocations: 0 / 0.6726 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1515, allocations: 12 kB / 0.6726 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1516, allocations: 4 kB / 0.6726 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004947/0.1521, allocations: 269.5 kB / 0.6729 GB, free: 12.58 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.002308/0.1544, allocations: 2.024 MB / 0.6748 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007855/0.1552, allocations: 350.5 kB / 0.6752 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.1554, allocations: 148.8 kB / 0.6753 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1554, allocations: 4 kB / 0.6753 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.1557, allocations: 185.2 kB / 0.6755 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.1557, allocations: 0 / 0.6755 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001002/0.1568, allocations: 0.5535 MB / 0.676 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1568, allocations: 63.33 kB / 0.6761 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1579, allocations: 0.9896 MB / 0.6771 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1579, allocations: 29.7 kB / 0.6771 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.1582, allocations: 384.5 kB / 0.6775 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.1583, allocations: 71.42 kB / 0.6775 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.1584, allocations: 61.88 kB / 0.6776 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.1585, allocations: 321.9 kB / 0.6779 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.1587, allocations: 116.4 kB / 0.678 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.159, allocations: 214.2 kB / 0.6782 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.1595, allocations: 312.9 kB / 0.6785 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1595, allocations: 0 / 0.6785 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007006/0.1602, allocations: 453.5 kB / 0.6789 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1602, allocations: 4 kB / 0.679 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1602, allocations: 4.188 kB / 0.679 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.1604, allocations: 48.81 kB / 0.679 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1606, allocations: 59.89 kB / 0.6791 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1618, allocations: 1.598 MB / 0.6806 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.1622, allocations: 55.8 kB / 0.6807 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.1622, allocations: 8 kB / 0.6807 GB, free: 4.141 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.0003344/0.1625, allocations: 350.5 kB / 0.681 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.1626, allocations: 91.44 kB / 0.6811 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1628, allocations: 91.5 kB / 0.6812 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1628, allocations: 0 / 0.6812 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1628, allocations: 0 / 0.6812 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1628, allocations: 7.922 kB / 0.6812 GB, free: 3.602 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.001471/0.1643, allocations: 1.221 MB / 0.6824 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1643, allocations: 3.984 kB / 0.6824 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.1645, allocations: 43.91 kB / 0.6824 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.1646, allocations: 36.83 kB / 0.6825 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.1646, allocations: 11.98 kB / 0.6825 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.1657, allocations: 1.593 MB / 0.684 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1657, allocations: 7.969 kB / 0.684 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.1666, allocations: 0.6208 MB / 0.6847 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.1667, allocations: 172.6 kB / 0.6848 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.1668, allocations: 11.94 kB / 0.6848 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.1671, allocations: 23.95 kB / 0.6848 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1672, allocations: 15.98 kB / 0.6849 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1672, allocations: 7.938 kB / 0.6849 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008007/0.168, allocations: 0.7254 MB / 0.6856 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.168, allocations: 0 / 0.6856 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004142/0.1684, allocations: 115.9 kB / 0.6857 GB, free: 14.71 MB / 0.5294 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.001122/0.1696, allocations: 1.172 MB / 0.6868 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.1702, allocations: 399.9 kB / 0.6872 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1703, allocations: 0 / 0.6872 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.1706, allocations: 258.4 kB / 0.6875 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007952/0.1714, allocations: 195.9 kB / 0.6877 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008633/0.18, allocations: 7.378 MB / 0.6949 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.1806, allocations: 1.109 MB / 0.6959 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003646/0.181, allocations: 165.3 kB / 0.6961 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.1813, allocations: 266.7 kB / 0.6964 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1813, allocations: 0 / 0.6964 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.2186, allocations: 16.5 MB / 0.7125 GB, free: 3.336 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.883/10.1, allocations: 3.953 kB / 0.7125 GB, free: 3.332 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)