Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_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.00656/0.00656, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001662/0.001662, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 56.97 kB / 0.9504 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2272, allocations: 140.4 MB / 1.087 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004539/0.2318, allocations: 3.732 MB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.2356, allocations: 2.502 MB / 1.094 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000402/0.236, allocations: 19.88 kB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007439/0.2368, allocations: 250.7 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.2378, allocations: 498.2 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.239, allocations: 0.5405 MB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2404, allocations: 1.375 MB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.2407, allocations: 161 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.2413, allocations: 434.5 kB / 1.097 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.2419, allocations: 478.2 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.242, allocations: 52 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2422, allocations: 60 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.2425, allocations: 358.9 kB / 1.098 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.243, allocations: 457.6 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.2438, allocations: 0.9107 MB / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2438, allocations: 0 / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2438, allocations: 0 / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.2438, allocations: 0 / 1.099 GB, free: 6.301 MB / 0.8575 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.002119/0.2459, allocations: 1.251 MB / 1.1 GB, free: 5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.246, allocations: 8.031 kB / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.246, allocations: 70.72 kB / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.2462, allocations: 103.7 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2473, allocations: 0.6636 MB / 1.101 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.2473, allocations: 37.03 kB / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.2474, allocations: 64.12 kB / 1.101 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.248, allocations: 399 kB / 1.101 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.248, allocations: 3.938 kB / 1.101 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.248, allocations: 15.94 kB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2481, allocations: 8 kB / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.2484, allocations: 226.4 kB / 1.102 GB, free: 3.336 MB / 0.8575 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.002827/0.2513, allocations: 2.502 MB / 1.104 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2525, allocations: 487.2 kB / 1.105 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.2528, allocations: 153.2 kB / 1.105 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2528, allocations: 240 / 1.105 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2528, allocations: 34.8 kB / 1.105 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 1.092e-06/0.2528, allocations: 0 / 1.105 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002005/0.2548, allocations: 1.212 MB / 1.106 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2549, allocations: 55.41 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.256, allocations: 0.9154 MB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.256, allocations: 41.7 kB / 1.107 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2563, allocations: 368.7 kB / 1.107 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/0.2564, allocations: 114.3 kB / 1.107 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.2566, allocations: 170.6 kB / 1.108 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2567, allocations: 394.8 kB / 1.108 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.2571, allocations: 229.8 kB / 1.108 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.2577, allocations: 0.6231 MB / 1.109 GB, free: 11.54 MB / 0.8731 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.002798/0.2605, allocations: 1.765 MB / 1.11 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2605, allocations: 7.938 kB / 1.111 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001289/0.2618, allocations: 0.8959 MB / 1.111 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2618, allocations: 16.03 kB / 1.111 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2618, allocations: 12 kB / 1.111 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.262, allocations: 52.83 kB / 1.111 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.2627, allocations: 203.6 kB / 1.112 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2637, allocations: 1.464 MB / 1.113 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.2644, allocations: 44.14 kB / 1.113 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.2644, allocations: 39.94 kB / 1.113 GB, free: 6.664 MB / 0.8731 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.0003051/0.2647, allocations: 301.9 kB / 1.113 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2649, allocations: 82.91 kB / 1.114 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.265, allocations: 76.53 kB / 1.114 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.265, allocations: 4 kB / 1.114 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.265, allocations: 0 / 1.114 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.265, allocations: 7.984 kB / 1.114 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.2665, allocations: 1.136 MB / 1.115 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2665, allocations: 0 / 1.115 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.2669, allocations: 92 kB / 1.115 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.2671, allocations: 32.83 kB / 1.115 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2671, allocations: 11.94 kB / 1.115 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009668/0.2681, allocations: 1.445 MB / 1.116 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2681, allocations: 0 / 1.116 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/0.2689, allocations: 0.644 MB / 1.117 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.2692, allocations: 200.1 kB / 1.117 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.2693, allocations: 8 kB / 1.117 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.2697, allocations: 23.97 kB / 1.117 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.2698, allocations: 19.92 kB / 1.117 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.2698, allocations: 15.98 kB / 1.117 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007867/0.2706, allocations: 0.6161 MB / 1.118 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2706, allocations: 0 / 1.118 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006924/0.2713, allocations: 211.9 kB / 1.118 GB, free: 1.484 MB / 0.8731 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.001152/0.2724, allocations: 1.207 MB / 1.119 GB, free: 240 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2735, allocations: 0.6404 MB / 1.12 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.2735, allocations: 1.688 kB / 1.12 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.2739, allocations: 270.7 kB / 1.12 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.2747, allocations: 186.4 kB / 1.12 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.2836, allocations: 7.394 MB / 1.127 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.2842, allocations: 0.9837 MB / 1.128 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003455/0.2845, allocations: 153.8 kB / 1.129 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.2849, allocations: 295.3 kB / 1.129 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of SimCode: time 3.01e-07/0.2849, allocations: 0 / 1.129 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.3215, allocations: 16.05 MB / 1.144 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.25, allocations: 7.938 kB / 1.144 GB, free: 5.906 MB / 0.9044 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)