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.001542/0.001542, allocations: 109.4 kB / 15.69 MB, free: 128 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.001939/0.001939, allocations: 188 kB / 16.62 MB, free: 6.582 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.688/1.688, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00136/0.00136, allocations: 68.98 kB / 0.6717 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2046, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005047/0.2097, allocations: 3.726 MB / 0.7873 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2139, allocations: 2.531 MB / 0.7897 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.2144, allocations: 15.88 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.2152, allocations: 246.4 kB / 0.79 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.2162, allocations: 0.4977 MB / 0.7905 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2176, allocations: 0.5372 MB / 0.791 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.2192, allocations: 1.375 MB / 0.7923 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.2195, allocations: 149.1 kB / 0.7925 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.2202, allocations: 442.5 kB / 0.7929 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.2208, allocations: 474.2 kB / 0.7933 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.2209, allocations: 52 kB / 0.7934 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.221, allocations: 63.94 kB / 0.7935 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.2214, allocations: 358.9 kB / 0.7938 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.2219, allocations: 457.6 kB / 0.7942 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009063/0.2228, allocations: 0.9068 MB / 0.7951 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2228, allocations: 0 / 0.7951 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2228, allocations: 3.938 kB / 0.7951 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.2228, allocations: 0 / 0.7951 GB, free: 1.441 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.002335/0.2252, allocations: 1.253 MB / 0.7963 GB, free: 140 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2252, allocations: 8.031 kB / 0.7964 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/0.2253, allocations: 70.72 kB / 0.7964 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.2255, allocations: 99.86 kB / 0.7965 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2265, allocations: 0.6597 MB / 0.7972 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.2265, allocations: 37.03 kB / 0.7972 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.2266, allocations: 64.12 kB / 0.7973 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.2272, allocations: 399 kB / 0.7976 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2272, allocations: 3.938 kB / 0.7976 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.2272, allocations: 12 kB / 0.7977 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2273, allocations: 8 kB / 0.7977 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.2276, allocations: 230.4 kB / 0.7979 GB, free: 14.48 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.002942/0.2306, allocations: 2.494 MB / 0.8003 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2319, allocations: 491.1 kB / 0.8008 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.2322, allocations: 153.2 kB / 0.8009 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2322, allocations: 4.234 kB / 0.8009 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2322, allocations: 35.27 kB / 0.801 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.2323, allocations: 0 / 0.801 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001999/0.2343, allocations: 1.21 MB / 0.8022 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2343, allocations: 55.41 kB / 0.8022 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2355, allocations: 0.9193 MB / 0.8031 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.2355, allocations: 41.7 kB / 0.8031 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.2358, allocations: 372.7 kB / 0.8035 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.2359, allocations: 110.4 kB / 0.8036 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.2361, allocations: 170.6 kB / 0.8038 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2363, allocations: 390.8 kB / 0.8041 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.2367, allocations: 229.8 kB / 0.8044 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/0.2372, allocations: 0.6192 MB / 0.805 GB, free: 6.695 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.002866/0.2401, allocations: 1.771 MB / 0.8067 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2401, allocations: 11.94 kB / 0.8067 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001409/0.2415, allocations: 0.892 MB / 0.8076 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2416, allocations: 12 kB / 0.8076 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.2416, allocations: 23.91 kB / 0.8076 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.2418, allocations: 44.84 kB / 0.8077 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.2425, allocations: 215.9 kB / 0.8079 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.2437, allocations: 1.46 MB / 0.8093 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007853/0.2445, allocations: 43.91 kB / 0.8093 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.2445, allocations: 40 kB / 0.8094 GB, free: 1.805 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.0003572/0.2449, allocations: 297.3 kB / 0.8096 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.245, allocations: 86.81 kB / 0.8097 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.2451, allocations: 76.53 kB / 0.8098 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2451, allocations: 8.047 kB / 0.8098 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2451, allocations: 7.984 kB / 0.8098 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2451, allocations: 0 / 0.8098 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.2467, allocations: 1.137 MB / 0.8109 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2467, allocations: 0 / 0.8109 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.2471, allocations: 87.88 kB / 0.811 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.2472, allocations: 32.83 kB / 0.811 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.2473, allocations: 8.078 kB / 0.8111 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.2483, allocations: 1.437 MB / 0.8125 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2483, allocations: 4.188 kB / 0.8125 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.2492, allocations: 0.6509 MB / 0.8131 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2495, allocations: 196.1 kB / 0.8133 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.2496, allocations: 15.98 kB / 0.8133 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.25, allocations: 20.05 kB / 0.8133 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.25, allocations: 19.97 kB / 0.8133 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.2501, allocations: 16 kB / 0.8133 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008093/0.2509, allocations: 0.6161 MB / 0.814 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2509, allocations: 0 / 0.814 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007502/0.2516, allocations: 207.9 kB / 0.8141 GB, free: 12.62 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.001205/0.2529, allocations: 1.216 MB / 0.8153 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.2541, allocations: 0.6454 MB / 0.816 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2541, allocations: 0.625 kB / 0.816 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.2545, allocations: 272.7 kB / 0.8162 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.2555, allocations: 170.2 kB / 0.8164 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/0.2649, allocations: 7.389 MB / 0.8236 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.2655, allocations: 0.9953 MB / 0.8246 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004251/0.266, allocations: 149.9 kB / 0.8247 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.2663, allocations: 291.3 kB / 0.825 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.2663, allocations: 4 kB / 0.825 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.3068, allocations: 15.89 MB / 0.8405 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.5, allocations: 4 kB / 0.8405 GB, free: 1.215 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)