Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_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.004669/0.004669, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001608/0.001608, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 60.09 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2341, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004306/0.2384, allocations: 3.725 MB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.242, allocations: 2.51 MB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.2424, allocations: 15.94 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.2431, allocations: 250.3 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009737/0.244, allocations: 0.4899 MB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2452, allocations: 0.5369 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.2467, allocations: 1.367 MB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.2469, allocations: 153.1 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.2476, allocations: 438.5 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007244/0.2483, allocations: 482.1 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2485, allocations: 55.94 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.2486, allocations: 60 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.249, allocations: 351.1 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.2495, allocations: 461.5 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008434/0.2503, allocations: 0.91 MB / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2503, allocations: 0 / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2503, allocations: 0 / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.2504, allocations: 0 / 1.178 GB, free: 11.46 MB / 0.9356 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.002019/0.2524, allocations: 1.284 MB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2524, allocations: 8.031 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.822e-05/0.2525, allocations: 70.72 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.2527, allocations: 108.3 kB / 1.179 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009237/0.2536, allocations: 0.6644 MB / 1.18 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.2536, allocations: 41.03 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.2537, allocations: 60.12 kB / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.2543, allocations: 399 kB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2543, allocations: 0 / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.2543, allocations: 15.94 kB / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2543, allocations: 8 kB / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.2547, allocations: 230.4 kB / 1.18 GB, free: 8.457 MB / 0.9356 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.002633/0.2573, allocations: 2.506 MB / 1.183 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.2585, allocations: 491 kB / 1.183 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.2588, allocations: 157.9 kB / 1.183 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2588, allocations: 4.234 kB / 1.184 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2588, allocations: 34.78 kB / 1.184 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/0.2588, allocations: 0 / 1.184 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001797/0.2606, allocations: 1.223 MB / 1.185 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2607, allocations: 55.41 kB / 1.185 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2617, allocations: 0.9194 MB / 1.186 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.2618, allocations: 41.7 kB / 1.186 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.2621, allocations: 373.2 kB / 1.186 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.2622, allocations: 119 kB / 1.186 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.2624, allocations: 170.6 kB / 1.186 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2625, allocations: 390.8 kB / 1.187 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.2629, allocations: 229.8 kB / 1.187 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.2635, allocations: 0.6231 MB / 1.188 GB, free: 0.6367 MB / 0.9356 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.002721/0.2662, allocations: 1.765 MB / 1.189 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2663, allocations: 7.938 kB / 1.189 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001248/0.2675, allocations: 0.8964 MB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2675, allocations: 14.03 kB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.2676, allocations: 16 kB / 1.19 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.2677, allocations: 48.83 kB / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.2683, allocations: 211.6 kB / 1.19 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.2694, allocations: 1.472 MB / 1.192 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.27, allocations: 43.97 kB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.27, allocations: 40 kB / 1.192 GB, free: 11.75 MB / 0.9512 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.000292/0.2703, allocations: 293.3 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2704, allocations: 87.38 kB / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2706, allocations: 76.53 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2706, allocations: 4 kB / 1.192 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2706, allocations: 8.047 kB / 1.192 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2706, allocations: 0 / 1.192 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.272, allocations: 1.133 MB / 1.194 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.272, allocations: 8.125 kB / 1.194 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.2724, allocations: 83.88 kB / 1.194 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.983e-05/0.2725, allocations: 36.83 kB / 1.194 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.2725, allocations: 15.88 kB / 1.194 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/0.2735, allocations: 1.437 MB / 1.195 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.2735, allocations: 3.984 kB / 1.195 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.2743, allocations: 0.6667 MB / 1.196 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.2746, allocations: 200.5 kB / 1.196 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.2746, allocations: 19.98 kB / 1.196 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.275, allocations: 15.98 kB / 1.196 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2751, allocations: 19.91 kB / 1.196 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2751, allocations: 12 kB / 1.196 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007222/0.2758, allocations: 0.6161 MB / 1.197 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2758, allocations: 0 / 1.197 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005922/0.2764, allocations: 211.9 kB / 1.197 GB, free: 6.547 MB / 0.9512 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.001104/0.2775, allocations: 1.212 MB / 1.198 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009663/0.2785, allocations: 0.6387 MB / 1.199 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2785, allocations: 0 / 1.199 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.2789, allocations: 277 kB / 1.199 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.2796, allocations: 171.3 kB / 1.199 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008292/0.2879, allocations: 7.422 MB / 1.206 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.2884, allocations: 0.9877 MB / 1.207 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.2887, allocations: 153.8 kB / 1.207 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.2891, allocations: 295.3 kB / 1.208 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2891, allocations: 0 / 1.208 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.063/2.352, allocations: 16.06 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/20.82, allocations: 7.859 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)