Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.001467/0.001467, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 193.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.94 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004925/0.248, allocations: 3.73 MB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004344/0.2524, allocations: 2.526 MB / 0.7896 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.253, allocations: 19.88 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.2539, allocations: 242.4 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.255, allocations: 0.4976 MB / 0.7903 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.2565, allocations: 0.5406 MB / 0.7908 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.2582, allocations: 1.367 MB / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.2585, allocations: 149.1 kB / 0.7923 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006886/0.2592, allocations: 438.5 kB / 0.7927 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006743/0.2598, allocations: 490.2 kB / 0.7932 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.2599, allocations: 52 kB / 0.7932 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2601, allocations: 60 kB / 0.7933 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.2604, allocations: 347 kB / 0.7936 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.2609, allocations: 461.6 kB / 0.7941 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008484/0.2618, allocations: 0.8951 MB / 0.7949 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2618, allocations: 0 / 0.7949 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2618, allocations: 4 kB / 0.7949 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.2618, allocations: 0 / 0.7949 GB, free: 1.57 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00226/0.2641, allocations: 1.253 MB / 0.7962 GB, free: 272 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2641, allocations: 8.031 kB / 0.7962 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/0.2642, allocations: 74.72 kB / 0.7962 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2644, allocations: 99.81 kB / 0.7963 GB, free: 80 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/0.2653, allocations: 0.6441 MB / 0.797 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.2654, allocations: 37.03 kB / 0.797 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.2655, allocations: 64.12 kB / 0.7971 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.266, allocations: 399 kB / 0.7975 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2661, allocations: 0 / 0.7975 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.2661, allocations: 12 kB / 0.7975 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2661, allocations: 15.92 kB / 0.7975 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.2665, allocations: 222.4 kB / 0.7977 GB, free: 14.62 MB / 0.6231 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.002728/0.2692, allocations: 2.509 MB / 0.8001 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.2705, allocations: 479.2 kB / 0.8006 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2707, allocations: 157.2 kB / 0.8007 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2708, allocations: 4.234 kB / 0.8008 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2708, allocations: 35.27 kB / 0.8008 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 2.886e-06/0.2708, allocations: 3.984 kB / 0.8008 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001884/0.2727, allocations: 1.207 MB / 0.802 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2727, allocations: 55.41 kB / 0.802 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2738, allocations: 0.9154 MB / 0.8029 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.2738, allocations: 41.7 kB / 0.803 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.2741, allocations: 364.7 kB / 0.8033 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.2742, allocations: 122.3 kB / 0.8034 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.2744, allocations: 166.6 kB / 0.8036 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2746, allocations: 402.7 kB / 0.804 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.275, allocations: 229.8 kB / 0.8042 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.2755, allocations: 0.6193 MB / 0.8048 GB, free: 6.824 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.2784, allocations: 1.781 MB / 0.8065 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.2784, allocations: 7.938 kB / 0.8065 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001455/0.2799, allocations: 0.8957 MB / 0.8074 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.2799, allocations: 12 kB / 0.8074 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.2799, allocations: 16 kB / 0.8074 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.2802, allocations: 49.2 kB / 0.8075 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.2809, allocations: 211.6 kB / 0.8077 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2822, allocations: 1.46 MB / 0.8091 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.2829, allocations: 35.98 kB / 0.8091 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.283, allocations: 40 kB / 0.8092 GB, free: 1.938 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.000363/0.2833, allocations: 311.8 kB / 0.8095 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.2835, allocations: 86.81 kB / 0.8096 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.2836, allocations: 76.53 kB / 0.8096 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2836, allocations: 0 / 0.8096 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2836, allocations: 4 kB / 0.8096 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2836, allocations: 3.984 kB / 0.8096 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.2853, allocations: 1.138 MB / 0.8108 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2853, allocations: 0 / 0.8108 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.2857, allocations: 87.88 kB / 0.8108 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.2858, allocations: 36.95 kB / 0.8109 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2859, allocations: 8 kB / 0.8109 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2871, allocations: 1.441 MB / 0.8123 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2871, allocations: 4.031 kB / 0.8123 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.2881, allocations: 0.651 MB / 0.8129 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.2883, allocations: 196.1 kB / 0.8131 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.2884, allocations: 8 kB / 0.8131 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.2888, allocations: 23.97 kB / 0.8131 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.2889, allocations: 23.97 kB / 0.8132 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2889, allocations: 12 kB / 0.8132 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009304/0.2899, allocations: 0.6161 MB / 0.8138 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.2899, allocations: 0 / 0.8138 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007815/0.2907, allocations: 207.9 kB / 0.814 GB, free: 12.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.001178/0.2919, allocations: 1.212 MB / 0.8152 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.2932, allocations: 0.6763 MB / 0.8158 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2932, allocations: 7.875 kB / 0.8158 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.2935, allocations: 267.7 kB / 0.8161 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.2944, allocations: 175.3 kB / 0.8163 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/0.304, allocations: 7.735 MB / 0.8238 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.3047, allocations: 0.9799 MB / 0.8248 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004402/0.3051, allocations: 149.8 kB / 0.8249 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.3055, allocations: 291.3 kB / 0.8252 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.3055, allocations: 4 kB / 0.8252 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.3467, allocations: 15.86 MB / 0.8407 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.49, allocations: 2.25 kB / 0.8407 GB, free: 0.9648 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)