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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001573/0.001573, allocations: 188.8 kB / 16.25 MB, free: 6.629 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.382/1.382, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.657/1.657, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001273/0.001273, allocations: 73.48 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2169, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004689/0.2217, allocations: 3.752 MB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003516/0.2252, allocations: 2.528 MB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.2257, allocations: 15.88 kB / 0.789 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.2265, allocations: 222.8 kB / 0.7892 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.2275, allocations: 462 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2287, allocations: 0.4948 MB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.2302, allocations: 1.367 MB / 0.7915 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.2304, allocations: 153.1 kB / 0.7916 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.2311, allocations: 446.4 kB / 0.792 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.2317, allocations: 0.506 MB / 0.7925 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.2318, allocations: 56 kB / 0.7926 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2319, allocations: 60 kB / 0.7926 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.2322, allocations: 351 kB / 0.793 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.2326, allocations: 457.6 kB / 0.7934 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.2333, allocations: 0.8913 MB / 0.7943 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2333, allocations: 0 / 0.7943 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2333, allocations: 0 / 0.7943 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.2333, allocations: 0 / 0.7943 GB, free: 2.191 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.001947/0.2352, allocations: 1.257 MB / 0.7955 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2353, allocations: 8.031 kB / 0.7955 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.2354, allocations: 107.8 kB / 0.7956 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.2362, allocations: 0.6441 MB / 0.7962 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2363, allocations: 40.97 kB / 0.7963 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.2364, allocations: 60.44 kB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.2369, allocations: 402.9 kB / 0.7967 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2369, allocations: 4 kB / 0.7967 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.237, allocations: 12 kB / 0.7967 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.237, allocations: 8 kB / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.2373, allocations: 226.4 kB / 0.797 GB, free: 15.31 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.002558/0.2399, allocations: 2.505 MB / 0.7994 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.2411, allocations: 483.2 kB / 0.7999 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.2413, allocations: 157.2 kB / 0.8 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2414, allocations: 4.234 kB / 0.8 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2414, allocations: 31.27 kB / 0.8 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.2414, allocations: 0 / 0.8 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001845/0.2433, allocations: 1.204 MB / 0.8012 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.2433, allocations: 55.41 kB / 0.8013 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.2443, allocations: 0.9193 MB / 0.8022 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.2444, allocations: 41.7 kB / 0.8022 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.2446, allocations: 368.7 kB / 0.8026 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.48e-05/0.2447, allocations: 114.4 kB / 0.8027 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.2449, allocations: 166.6 kB / 0.8028 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.245, allocations: 398.7 kB / 0.8032 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.2454, allocations: 221.8 kB / 0.8034 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.2459, allocations: 0.6308 MB / 0.804 GB, free: 7.52 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.002555/0.2484, allocations: 1.77 MB / 0.8058 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2485, allocations: 4 kB / 0.8058 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001178/0.2496, allocations: 0.9031 MB / 0.8067 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2497, allocations: 12 kB / 0.8067 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.2497, allocations: 16 kB / 0.8067 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.2499, allocations: 49.53 kB / 0.8067 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.2505, allocations: 207.6 kB / 0.8069 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2515, allocations: 1.457 MB / 0.8083 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.2522, allocations: 55.97 kB / 0.8084 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.2522, allocations: 36 kB / 0.8084 GB, free: 2.633 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.0003137/0.2526, allocations: 305.9 kB / 0.8087 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2527, allocations: 82.95 kB / 0.8088 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.2528, allocations: 80.47 kB / 0.8089 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2528, allocations: 7.938 kB / 0.8089 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2528, allocations: 4 kB / 0.8089 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2529, allocations: 7.984 kB / 0.8089 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.2545, allocations: 1.13 MB / 0.81 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2545, allocations: 0 / 0.81 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.2549, allocations: 92 kB / 0.8101 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.2551, allocations: 32.83 kB / 0.8101 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2551, allocations: 8 kB / 0.8101 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.2562, allocations: 1.441 MB / 0.8115 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2562, allocations: 4 kB / 0.8115 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.2571, allocations: 0.6557 MB / 0.8122 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.2574, allocations: 200.1 kB / 0.8124 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.2575, allocations: 12 kB / 0.8124 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.2579, allocations: 19.97 kB / 0.8124 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.258, allocations: 27.91 kB / 0.8124 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.258, allocations: 8 kB / 0.8124 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008035/0.2588, allocations: 0.6161 MB / 0.813 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2588, allocations: 4 kB / 0.813 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006473/0.2595, allocations: 208 kB / 0.8132 GB, free: 13.44 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.0001314/0.2596, allocations: 111.2 kB / 0.8133 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2607, allocations: 0.681 MB / 0.814 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2607, allocations: 4.062 kB / 0.814 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.261, allocations: 266.4 kB / 0.8143 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.2618, allocations: 170.6 kB / 0.8144 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.2641, allocations: 1.87 MB / 0.8163 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.2646, allocations: 0.976 MB / 0.8172 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000374/0.265, allocations: 153.9 kB / 0.8174 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2651, allocations: 47.44 kB / 0.8174 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.2651, allocations: 0 / 0.8174 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of Templates: time 0.01395/0.2791, allocations: 8.97 MB / 0.8262 GB, free: 220 kB / 0.6387 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (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 & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)