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.005222/0.005222, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.00127/0.00127, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7192/0.7192, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 66.91 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.004029/0.1246, allocations: 3.598 MB / 0.6627 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1274, allocations: 2.22 MB / 0.6649 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1277, allocations: 15.94 kB / 0.6649 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1287, allocations: 448.9 kB / 0.6653 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1291, allocations: 174.9 kB / 0.6655 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1294, allocations: 131.8 kB / 0.6656 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.1304, allocations: 1.145 MB / 0.6667 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.1308, allocations: 323 kB / 0.667 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.1313, allocations: 458.2 kB / 0.6675 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.1317, allocations: 430.1 kB / 0.6679 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.1318, allocations: 72 kB / 0.668 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.1319, allocations: 68 kB / 0.668 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1321, allocations: 183.3 kB / 0.6682 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1324, allocations: 409.8 kB / 0.6686 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.1332, allocations: 1.133 MB / 0.6697 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1333, allocations: 0 / 0.6697 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1333, allocations: 0 / 0.6697 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.1333, allocations: 3.938 kB / 0.6697 GB, free: 15.91 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.0016/0.1349, allocations: 1.194 MB / 0.6709 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1349, allocations: 8.031 kB / 0.6709 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.135, allocations: 70.66 kB / 0.6709 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1351, allocations: 87.81 kB / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.1367, allocations: 1.136 MB / 0.6721 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1367, allocations: 24.5 kB / 0.6722 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.1368, allocations: 27.98 kB / 0.6722 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.1373, allocations: 386.7 kB / 0.6726 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1374, allocations: 4 kB / 0.6726 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.1374, allocations: 4 kB / 0.6726 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1374, allocations: 8 kB / 0.6726 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.1378, allocations: 277.4 kB / 0.6728 GB, free: 12.57 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.002051/0.1399, allocations: 2.016 MB / 0.6748 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.1407, allocations: 352.9 kB / 0.6751 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1409, allocations: 149.1 kB / 0.6753 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1409, allocations: 3.906 kB / 0.6753 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.1412, allocations: 185.2 kB / 0.6755 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1412, allocations: 0 / 0.6755 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.0009838/0.1422, allocations: 0.5592 MB / 0.676 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1422, allocations: 59.28 kB / 0.6761 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.1433, allocations: 0.9935 MB / 0.677 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1434, allocations: 33.7 kB / 0.6771 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.1437, allocations: 372.3 kB / 0.6774 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.1437, allocations: 71 kB / 0.6775 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.1438, allocations: 57.94 kB / 0.6775 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.1439, allocations: 313.9 kB / 0.6778 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.1441, allocations: 120.4 kB / 0.678 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1444, allocations: 218.2 kB / 0.6782 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.1448, allocations: 317.5 kB / 0.6785 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1448, allocations: 0 / 0.6785 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006422/0.1455, allocations: 437.1 kB / 0.6789 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1455, allocations: 11.98 kB / 0.6789 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1455, allocations: 4.188 kB / 0.6789 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.1457, allocations: 44.83 kB / 0.6789 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.1459, allocations: 55.89 kB / 0.679 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.1469, allocations: 1.602 MB / 0.6806 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.1473, allocations: 55.72 kB / 0.6806 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1473, allocations: 8 kB / 0.6806 GB, free: 4.156 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.0003361/0.1477, allocations: 354.5 kB / 0.681 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.1477, allocations: 78.97 kB / 0.681 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1479, allocations: 87.5 kB / 0.6811 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1479, allocations: 7.984 kB / 0.6811 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1479, allocations: 0 / 0.6811 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1479, allocations: 3.938 kB / 0.6811 GB, free: 3.625 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.001311/0.1492, allocations: 1.225 MB / 0.6823 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1492, allocations: 0 / 0.6823 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1494, allocations: 43.91 kB / 0.6824 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.807e-05/0.1495, allocations: 36.83 kB / 0.6824 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1496, allocations: 11.98 kB / 0.6824 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009824/0.1505, allocations: 1.593 MB / 0.684 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1506, allocations: 7.922 kB / 0.684 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.1514, allocations: 0.6109 MB / 0.6846 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1515, allocations: 168.2 kB / 0.6847 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.1516, allocations: 11.94 kB / 0.6847 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.1519, allocations: 31.95 kB / 0.6848 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.152, allocations: 7.984 kB / 0.6848 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.152, allocations: 12 kB / 0.6848 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007924/0.1528, allocations: 0.7253 MB / 0.6855 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1528, allocations: 0 / 0.6855 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004069/0.1532, allocations: 115.8 kB / 0.6856 GB, free: 14.75 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.001033/0.1542, allocations: 1.173 MB / 0.6868 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006353/0.1549, allocations: 402.7 kB / 0.6871 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1549, allocations: 0 / 0.6871 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1552, allocations: 250.5 kB / 0.6874 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.156, allocations: 182.8 kB / 0.6876 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.1642, allocations: 7.35 MB / 0.6947 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.1649, allocations: 1.113 MB / 0.6958 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003999/0.1653, allocations: 161.3 kB / 0.696 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.1656, allocations: 267.3 kB / 0.6962 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.1656, allocations: 0 / 0.6962 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.2044, allocations: 16.51 MB / 0.7123 GB, free: 3.402 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.72/9.924, allocations: 3.953 kB / 0.7124 GB, free: 3.398 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)