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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8128/0.8128, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.5 MB / 395.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.19 kB / 478.2 MB, free: 1.305 MB / 346.7 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 2.891e-05/2.855e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4975, allocations: 82.29 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.6702, allocations: 121.5 MB / 0.7526 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.6705, allocations: 87.94 kB / 0.7527 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06544/0.7359, allocations: 21.78 MB / 0.774 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.475e-06/0.736, allocations: 0 / 0.774 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001841/0.7362, allocations: 16 kB / 0.774 GB, free: 11.07 MB / 0.5573 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.002001/0.7382, allocations: 0.8598 MB / 0.7748 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.7383, allocations: 8.031 kB / 0.7749 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.7386, allocations: 90.88 kB / 0.7749 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.7409, allocations: 1.253 MB / 0.7762 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.741, allocations: 8 kB / 0.7762 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.741, allocations: 20 kB / 0.7762 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000396/0.7414, allocations: 177.1 kB / 0.7764 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.742, allocations: 293.7 kB / 0.7766 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.742, allocations: 0 / 0.7766 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.742, allocations: 8 kB / 0.7766 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.742, allocations: 4 kB / 0.7766 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.7445, allocations: 1.68 MB / 0.7783 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.745, allocations: 222.7 kB / 0.7785 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.7452, allocations: 110.8 kB / 0.7786 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.7452, allocations: 4 kB / 0.7786 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.7455, allocations: 135.2 kB / 0.7787 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.7455, allocations: 4 kB / 0.7787 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0006951/0.7462, allocations: 368.5 kB / 0.7791 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.7462, allocations: 55.41 kB / 0.7791 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7474, allocations: 0.8171 MB / 0.7799 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.7474, allocations: 25.7 kB / 0.78 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.7478, allocations: 388 kB / 0.7803 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.7479, allocations: 71 kB / 0.7804 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.7479, allocations: 0 / 0.7804 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7481, allocations: 318 kB / 0.7807 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.7482, allocations: 76.38 kB / 0.7808 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.7484, allocations: 183.2 kB / 0.781 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.7486, allocations: 119 kB / 0.7811 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7486, allocations: 0 / 0.7811 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006104/0.7492, allocations: 441.1 kB / 0.7815 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7493, allocations: 12.19 kB / 0.7815 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7493, allocations: 0 / 0.7815 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.7494, allocations: 28.84 kB / 0.7815 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.7497, allocations: 59.89 kB / 0.7816 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.7509, allocations: 1.334 MB / 0.7829 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.7513, allocations: 35.72 kB / 0.7829 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.7513, allocations: 8.125 kB / 0.7829 GB, free: 1.449 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.7514, allocations: 116.9 kB / 0.783 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004936/0.7519, allocations: 372.4 kB / 0.7834 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.752, allocations: 78.97 kB / 0.7835 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.7522, allocations: 87.28 kB / 0.7836 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7522, allocations: 4 kB / 0.7836 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.7522, allocations: 0 / 0.7836 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7522, allocations: 4 kB / 0.7836 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.7536, allocations: 0.9754 MB / 0.7845 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7536, allocations: 0 / 0.7845 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.7538, allocations: 36.06 kB / 0.7846 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.856e-05/0.7539, allocations: 32.75 kB / 0.7846 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.7539, allocations: 11.94 kB / 0.7846 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.7551, allocations: 1.346 MB / 0.7859 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.7551, allocations: 4.031 kB / 0.7859 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.7559, allocations: 0.5982 MB / 0.7865 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.7561, allocations: 164 kB / 0.7867 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.7561, allocations: 7.984 kB / 0.7867 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.7564, allocations: 28.06 kB / 0.7867 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.7565, allocations: 15.97 kB / 0.7867 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.7565, allocations: 8 kB / 0.7867 GB, free: 13.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008834/0.7574, allocations: 0.6435 MB / 0.7873 GB, free: 12.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7574, allocations: 0 / 0.7873 GB, free: 12.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004879/0.7579, allocations: 115.8 kB / 0.7875 GB, free: 12.51 MB / 0.573 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[2],layMul.monLay[2].monLayDyn.T[1],layMul.monLay[2].monLayDyn.T[2]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/0.7593, allocations: 1.418 MB / 0.7888 GB, free: 11.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.7598, allocations: 313.5 kB / 0.7891 GB, free: 10.71 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7599, allocations: 4 kB / 0.7891 GB, free: 10.71 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.7601, allocations: 207.6 kB / 0.7893 GB, free: 10.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.7609, allocations: 178 kB / 0.7895 GB, free: 10.33 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.7637, allocations: 1.603 MB / 0.7911 GB, free: 8.672 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.7645, allocations: 1.124 MB / 0.7922 GB, free: 7.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004243/0.7649, allocations: 165.2 kB / 0.7923 GB, free: 7.355 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.7653, allocations: 259.4 kB / 0.7926 GB, free: 7.102 MB / 0.573 GB Notification: Performance of SimCode: time 3e-07/0.7653, allocations: 0 / 0.7926 GB, free: 7.102 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/1.31, allocations: 13.71 MB / 0.806 GB, free: 145.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.311, allocations: 176.3 kB / 0.8061 GB, free: 145.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.983, allocations: 5.156 kB / 0.8061 GB, free: 145.6 MB / 0.573 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/linux/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)