Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.295/2.295, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001751/0.001751, allocations: 179.6 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.19/3.19, allocations: 205.4 MB / 0.578 GB, free: 20.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 83.86 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005299, allocations: 8.344 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3365, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004894/0.3414, allocations: 3.355 MB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005652/0.3472, allocations: 2.566 MB / 0.9067 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.3482, allocations: 7.938 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.3495, allocations: 218.8 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.3515, allocations: 465.9 kB / 0.9073 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.3536, allocations: 473.2 kB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002547/0.3562, allocations: 1.609 MB / 0.9094 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.3566, allocations: 132.8 kB / 0.9095 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.3577, allocations: 386.4 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3589, allocations: 490.2 kB / 0.9103 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.3592, allocations: 35.98 kB / 0.9104 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.3596, allocations: 32 kB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.36, allocations: 319 kB / 0.9107 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008679/0.3609, allocations: 447.4 kB / 0.9111 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.362, allocations: 0.8637 MB / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3621, allocations: 0 / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3621, allocations: 0 / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.778e-05/0.3621, allocations: 0 / 0.912 GB, free: 52.07 MB / 0.6042 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.002978/0.3651, allocations: 1.129 MB / 0.9131 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/0.3652, allocations: 8.031 kB / 0.9131 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.3654, allocations: 70.72 kB / 0.9131 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.3658, allocations: 99.81 kB / 0.9132 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.3674, allocations: 0.6402 MB / 0.9139 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.3675, allocations: 45.03 kB / 0.9139 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3676, allocations: 64.11 kB / 0.914 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.3684, allocations: 399 kB / 0.9144 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3684, allocations: 4 kB / 0.9144 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.3685, allocations: 8 kB / 0.9144 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3685, allocations: 12 kB / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.369, allocations: 230.4 kB / 0.9146 GB, free: 49.25 MB / 0.6042 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.004135/0.3732, allocations: 2.521 MB / 0.9171 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3749, allocations: 489.1 kB / 0.9175 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3752, allocations: 165.2 kB / 0.9177 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.3753, allocations: 8.234 kB / 0.9177 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3753, allocations: 35.2 kB / 0.9177 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 5.531e-06/0.3753, allocations: 0 / 0.9177 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.002981/0.3783, allocations: 1.212 MB / 0.9189 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3784, allocations: 55.41 kB / 0.919 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.3802, allocations: 0.9193 MB / 0.9199 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.3803, allocations: 41.7 kB / 0.9199 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.3806, allocations: 364.7 kB / 0.9202 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.3807, allocations: 114.4 kB / 0.9204 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.3808, allocations: 20 kB / 0.9204 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.381, allocations: 394.7 kB / 0.9207 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.3814, allocations: 225.8 kB / 0.921 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.3821, allocations: 0.6309 MB / 0.9216 GB, free: 41.56 MB / 0.6042 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.003873/0.386, allocations: 1.78 MB / 0.9233 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.3861, allocations: 11.94 kB / 0.9233 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002192/0.3883, allocations: 0.8959 MB / 0.9242 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3883, allocations: 16.19 kB / 0.9242 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.3883, allocations: 12 kB / 0.9242 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.3886, allocations: 44.84 kB / 0.9243 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009475/0.3896, allocations: 215.6 kB / 0.9245 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.3908, allocations: 1.35 MB / 0.9258 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3922, allocations: 52.02 kB / 0.9258 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.3923, allocations: 52 kB / 0.9259 GB, free: 36.76 MB / 0.6042 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0005503/0.3929, allocations: 293.8 kB / 0.9262 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.3932, allocations: 78.97 kB / 0.9263 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3934, allocations: 84.52 kB / 0.9263 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3934, allocations: 0 / 0.9263 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3934, allocations: 7.938 kB / 0.9263 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.3934, allocations: 0 / 0.9263 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.3958, allocations: 1.145 MB / 0.9275 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3958, allocations: 12.06 kB / 0.9275 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.3964, allocations: 75.94 kB / 0.9275 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.3966, allocations: 32.78 kB / 0.9276 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.3967, allocations: 19.98 kB / 0.9276 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3978, allocations: 1.315 MB / 0.9289 GB, free: 33.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.3978, allocations: 7.969 kB / 0.9289 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.3991, allocations: 0.6628 MB / 0.9295 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.3996, allocations: 196.1 kB / 0.9297 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.3999, allocations: 23.86 kB / 0.9297 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.4006, allocations: 27.86 kB / 0.9298 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4007, allocations: 19.97 kB / 0.9298 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.4008, allocations: 8 kB / 0.9298 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001274/0.402, allocations: 0.62 MB / 0.9304 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4021, allocations: 0 / 0.9304 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001344/0.4034, allocations: 216 kB / 0.9306 GB, free: 31.67 MB / 0.6042 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.001592/0.405, allocations: 1.207 MB / 0.9318 GB, free: 30.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.4066, allocations: 0.65 MB / 0.9324 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4067, allocations: 0 / 0.9324 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.4072, allocations: 274.4 kB / 0.9327 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.4088, allocations: 170 kB / 0.9328 GB, free: 29.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.4241, allocations: 8.045 MB / 0.9407 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.4248, allocations: 0.9916 MB / 0.9417 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008044/0.4257, allocations: 153.8 kB / 0.9418 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.4262, allocations: 291.3 kB / 0.9421 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/0.4262, allocations: 0 / 0.9421 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/0.4753, allocations: 15.13 MB / 0.9569 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.4758, allocations: 235.7 kB / 0.9571 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.42/4.896, allocations: 0 / 0.9571 GB, free: 4.105 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)