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.004716/0.004716, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001074/0.001074, allocations: 196.9 kB / 16.67 MB, free: 5.969 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6966/0.6966, allocations: 132.2 MB / 422.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.27 kB / 0.5809 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1352, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.004865/0.1402, allocations: 3.598 MB / 0.6627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.1432, allocations: 2.224 MB / 0.6649 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.1436, allocations: 15.88 kB / 0.6649 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1448, allocations: 444.9 kB / 0.6653 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.1452, allocations: 170.9 kB / 0.6655 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1456, allocations: 135.8 kB / 0.6656 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1467, allocations: 1.147 MB / 0.6667 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.1471, allocations: 319 kB / 0.667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.1476, allocations: 462.2 kB / 0.6675 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.1482, allocations: 422.1 kB / 0.6679 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.1483, allocations: 72 kB / 0.668 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1485, allocations: 75.94 kB / 0.668 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1487, allocations: 179.4 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.1491, allocations: 413.8 kB / 0.6686 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008928/0.15, allocations: 1.129 MB / 0.6697 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.15, allocations: 4 kB / 0.6697 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.15, allocations: 0 / 0.6697 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.1501, allocations: 0 / 0.6697 GB, free: 3.223 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.001828/0.1519, allocations: 1.201 MB / 0.6709 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1519, allocations: 8.031 kB / 0.6709 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.152, allocations: 54.73 kB / 0.6709 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1522, allocations: 91.81 kB / 0.671 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.1539, allocations: 1.139 MB / 0.6721 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.1539, allocations: 20.5 kB / 0.6722 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.154, allocations: 32 kB / 0.6722 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.1545, allocations: 382.7 kB / 0.6726 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1545, allocations: 0 / 0.6726 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.1546, allocations: 12 kB / 0.6726 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1546, allocations: 8 kB / 0.6726 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.1551, allocations: 269.5 kB / 0.6728 GB, free: 15.9 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.002254/0.1573, allocations: 2.02 MB / 0.6748 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.1581, allocations: 346.5 kB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.1583, allocations: 152.8 kB / 0.6753 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1584, allocations: 3.984 kB / 0.6753 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.1586, allocations: 175.5 kB / 0.6754 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.1587, allocations: 0 / 0.6754 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.0009819/0.1596, allocations: 0.5632 MB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1597, allocations: 55.34 kB / 0.6761 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1608, allocations: 0.9935 MB / 0.677 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1608, allocations: 29.7 kB / 0.677 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1611, allocations: 388.2 kB / 0.6774 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1612, allocations: 67 kB / 0.6775 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.1612, allocations: 49.94 kB / 0.6775 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.1613, allocations: 322 kB / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.1616, allocations: 124.3 kB / 0.678 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.1618, allocations: 214.9 kB / 0.6782 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.1623, allocations: 311.1 kB / 0.6785 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1623, allocations: 0 / 0.6785 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006628/0.1629, allocations: 452.2 kB / 0.6789 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.163, allocations: 4 kB / 0.6789 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.163, allocations: 4 kB / 0.6789 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.1631, allocations: 49 kB / 0.6789 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1634, allocations: 55.91 kB / 0.679 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1645, allocations: 1.593 MB / 0.6806 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.1648, allocations: 55.7 kB / 0.6806 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1648, allocations: 8 kB / 0.6806 GB, free: 7.48 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.0003227/0.1652, allocations: 350.3 kB / 0.6809 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.1653, allocations: 75 kB / 0.681 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1654, allocations: 95.5 kB / 0.6811 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1654, allocations: 0 / 0.6811 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1654, allocations: 4 kB / 0.6811 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1654, allocations: 3.938 kB / 0.6811 GB, free: 6.953 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.001336/0.1667, allocations: 1.222 MB / 0.6823 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1668, allocations: 0 / 0.6823 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.167, allocations: 39.95 kB / 0.6823 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.1671, allocations: 40.83 kB / 0.6824 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.1671, allocations: 15.98 kB / 0.6824 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009934/0.1681, allocations: 1.593 MB / 0.684 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1681, allocations: 3.938 kB / 0.684 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.1689, allocations: 0.617 MB / 0.6846 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.1691, allocations: 164.2 kB / 0.6847 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.1692, allocations: 11.94 kB / 0.6847 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.1695, allocations: 23.95 kB / 0.6848 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.1695, allocations: 19.92 kB / 0.6848 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1695, allocations: 4 kB / 0.6848 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008236/0.1704, allocations: 0.7215 MB / 0.6855 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1704, allocations: 7.938 kB / 0.6855 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000434/0.1708, allocations: 119.8 kB / 0.6856 GB, free: 2.07 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.001154/0.172, allocations: 1.17 MB / 0.6867 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006981/0.1727, allocations: 398.7 kB / 0.6871 GB, free: 468 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1727, allocations: 7.938 kB / 0.6871 GB, free: 460 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.173, allocations: 246.5 kB / 0.6874 GB, free: 200 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.1739, allocations: 188 kB / 0.6876 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009111/0.183, allocations: 7.356 MB / 0.6947 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.1837, allocations: 1.109 MB / 0.6958 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000389/0.1841, allocations: 173.3 kB / 0.696 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.1844, allocations: 259.3 kB / 0.6962 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.1844, allocations: 0 / 0.6962 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.223, allocations: 16.7 MB / 0.7125 GB, free: 6.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.66, allocations: 7.781 kB / 0.7126 GB, free: 6.547 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp_fmu --startTime=0 --stopTime=500000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)