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.006674/0.006674, allocations: 98.89 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.001199/0.001199, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9145/0.9145, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 58.25 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1878, allocations: 80.93 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.00605/0.1939, allocations: 3.633 MB / 0.6677 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004229/0.1982, allocations: 2.22 MB / 0.6699 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.1989, allocations: 19.88 kB / 0.6699 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2003, allocations: 446.5 kB / 0.6703 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007567/0.2011, allocations: 190.7 kB / 0.6705 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.2017, allocations: 131.8 kB / 0.6706 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.2033, allocations: 1.195 MB / 0.6718 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.2038, allocations: 322.4 kB / 0.6721 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.2046, allocations: 478.2 kB / 0.6726 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.2055, allocations: 470 kB / 0.673 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.2057, allocations: 80 kB / 0.6731 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2061, allocations: 76 kB / 0.6732 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.2064, allocations: 207.3 kB / 0.6734 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.2071, allocations: 445.6 kB / 0.6738 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.2086, allocations: 1.245 MB / 0.675 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2087, allocations: 3.938 kB / 0.675 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2087, allocations: 0 / 0.675 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.177e-05/0.2087, allocations: 0 / 0.675 GB, free: 11.1 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002991/0.2117, allocations: 1.291 MB / 0.6763 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2118, allocations: 13.11 kB / 0.6763 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.2119, allocations: 62.73 kB / 0.6763 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.2121, allocations: 100.3 kB / 0.6764 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.2146, allocations: 1.184 MB / 0.6776 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.2146, allocations: 24.5 kB / 0.6776 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.2147, allocations: 39.95 kB / 0.6777 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.2155, allocations: 423 kB / 0.6781 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2155, allocations: 3.938 kB / 0.6781 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2155, allocations: 12 kB / 0.6781 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2156, allocations: 8 kB / 0.6781 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.2162, allocations: 333.9 kB / 0.6784 GB, free: 7.504 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.003411/0.2196, allocations: 2.375 MB / 0.6807 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2208, allocations: 0.5267 MB / 0.6812 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.2211, allocations: 196.7 kB / 0.6814 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2211, allocations: 4 kB / 0.6814 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.2216, allocations: 235.5 kB / 0.6817 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.2216, allocations: 0 / 0.6817 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.002336/0.2239, allocations: 1.29 MB / 0.6829 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.224, allocations: 63.34 kB / 0.683 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.2254, allocations: 1.044 MB / 0.684 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.2255, allocations: 29.7 kB / 0.684 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.2259, allocations: 396.5 kB / 0.6844 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.2259, allocations: 95.2 kB / 0.6845 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.2261, allocations: 65.7 kB / 0.6846 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2262, allocations: 318 kB / 0.6849 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.2265, allocations: 175.7 kB / 0.685 GB, free: 412 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.2269, allocations: 277.1 kB / 0.6853 GB, free: 100 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.2275, allocations: 426.1 kB / 0.6857 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2276, allocations: 3.938 kB / 0.6857 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009636/0.2285, allocations: 0.5693 MB / 0.6863 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2286, allocations: 8 kB / 0.6863 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2286, allocations: 0 / 0.6863 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.2288, allocations: 52.81 kB / 0.6863 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.2291, allocations: 84.06 kB / 0.6864 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.2306, allocations: 1.688 MB / 0.688 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.231, allocations: 43.88 kB / 0.6881 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.2311, allocations: 12.17 kB / 0.6881 GB, free: 13.05 MB / 0.5294 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.0004387/0.2315, allocations: 369.6 kB / 0.6884 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2317, allocations: 87.38 kB / 0.6885 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.2318, allocations: 99.86 kB / 0.6886 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2318, allocations: 4 kB / 0.6886 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2318, allocations: 4.062 kB / 0.6886 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2319, allocations: 3.938 kB / 0.6886 GB, free: 12.48 MB / 0.5294 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.002137/0.234, allocations: 1.509 MB / 0.6901 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.234, allocations: 8.031 kB / 0.6901 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.2343, allocations: 55.88 kB / 0.6902 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.2345, allocations: 48.83 kB / 0.6902 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.2345, allocations: 15.98 kB / 0.6902 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.2359, allocations: 1.691 MB / 0.6919 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2359, allocations: 0 / 0.6919 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.2371, allocations: 0.7959 MB / 0.6927 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.2374, allocations: 188.5 kB / 0.6928 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.2375, allocations: 16 kB / 0.6929 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.2379, allocations: 35.95 kB / 0.6929 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.238, allocations: 19.97 kB / 0.6929 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.2381, allocations: 8 kB / 0.6929 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00112/0.2392, allocations: 0.7604 MB / 0.6937 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2392, allocations: 0 / 0.6937 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005497/0.2397, allocations: 123.9 kB / 0.6938 GB, free: 6.906 MB / 0.5294 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.001741/0.2415, allocations: 1.358 MB / 0.6951 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.2426, allocations: 0.5142 MB / 0.6956 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.2426, allocations: 384 / 0.6956 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.2431, allocations: 326.4 kB / 0.6959 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/0.2441, allocations: 190.4 kB / 0.6961 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.2559, allocations: 8.19 MB / 0.7041 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/0.2568, allocations: 1.136 MB / 0.7052 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005428/0.2574, allocations: 201.6 kB / 0.7054 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.2578, allocations: 275.4 kB / 0.7057 GB, free: 10.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.133e-06/0.2578, allocations: 0 / 0.7057 GB, free: 10.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/0.3178, allocations: 18.19 MB / 0.7234 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.7, allocations: 17.98 kB / 0.7234 GB, free: 8.539 MB / 0.5606 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)