Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.637/2.637, allocations: 287.3 MB / 302.3 MB, free: 8.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 179.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 99.5 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004684, allocations: 16.19 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2403, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004024/0.2444, allocations: 2.984 MB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.2491, allocations: 2.402 MB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.2496, allocations: 11.94 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2507, allocations: 286.8 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.2519, allocations: 400.8 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.2534, allocations: 431.1 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2549, allocations: 0.7603 MB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.2552, allocations: 119.5 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006392/0.2558, allocations: 338.9 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/0.2564, allocations: 342.7 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.2565, allocations: 24 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2567, allocations: 28 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.2571, allocations: 299.2 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.2572, allocations: 185.3 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.258, allocations: 0.6544 MB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.258, allocations: 0 / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.258, allocations: 3.938 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.258, allocations: 0 / 0.9873 GB, free: 19.04 MB / 0.6198 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.002536/0.2606, allocations: 1.117 MB / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2606, allocations: 8.031 kB / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.406e-05/0.2607, allocations: 70.53 kB / 0.9884 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.2609, allocations: 106.7 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2621, allocations: 0.5773 MB / 0.9891 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.2621, allocations: 36.66 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.2623, allocations: 59.91 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.263, allocations: 399 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.2631, allocations: 0 / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.2631, allocations: 19.92 kB / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2631, allocations: 8 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.2637, allocations: 222.4 kB / 0.9898 GB, free: 16.3 MB / 0.6198 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.003687/0.2674, allocations: 2.502 MB / 0.9923 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.2695, allocations: 495.7 kB / 0.9927 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2696, allocations: 8.188 kB / 0.9927 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2696, allocations: 34.8 kB / 0.9928 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 4.137e-06/0.2696, allocations: 3.984 kB / 0.9928 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.002759/0.2724, allocations: 1.212 MB / 0.994 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.2725, allocations: 55.41 kB / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.2739, allocations: 0.8801 MB / 0.9949 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.274, allocations: 45.7 kB / 0.9949 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.2743, allocations: 368.8 kB / 0.9953 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2744, allocations: 114.4 kB / 0.9954 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.2745, allocations: 16 kB / 0.9954 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2746, allocations: 394.8 kB / 0.9958 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.2752, allocations: 229.8 kB / 0.996 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/0.2759, allocations: 0.6115 MB / 0.9966 GB, free: 8.844 MB / 0.6198 GB 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])) 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])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/0.2793, allocations: 1.088 MB / 0.9976 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.2793, allocations: 4 kB / 0.9976 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001964/0.2813, allocations: 0.8956 MB / 0.9985 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2814, allocations: 12 kB / 0.9985 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.2814, allocations: 15.94 kB / 0.9985 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.2816, allocations: 57.33 kB / 0.9986 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.2829, allocations: 203.7 kB / 0.9988 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.284, allocations: 1.37 MB / 1 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.2852, allocations: 47.97 kB / 1 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.2853, allocations: 40 kB / 1 GB, free: 4.934 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) 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]). 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004868/0.2858, allocations: 313.4 kB / 1.001 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.2859, allocations: 78.97 kB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2861, allocations: 76.52 kB / 1.001 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2861, allocations: 4 kB / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2861, allocations: 0 / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2861, allocations: 0 / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.2884, allocations: 1.131 MB / 1.002 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2884, allocations: 4 kB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/0.2892, allocations: 83.88 kB / 1.002 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.2894, allocations: 36.95 kB / 1.002 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.2894, allocations: 11.95 kB / 1.002 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.2905, allocations: 1.342 MB / 1.003 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2905, allocations: 0 / 1.003 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2919, allocations: 0.7007 MB / 1.004 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.2923, allocations: 196.1 kB / 1.004 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.2924, allocations: 12 kB / 1.004 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.2931, allocations: 31.78 kB / 1.004 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.2933, allocations: 27.91 kB / 1.004 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.2933, allocations: 8 kB / 1.004 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001061/0.2944, allocations: 0.5849 MB / 1.005 GB, free: 20 kB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2944, allocations: 0 / 1.005 GB, free: 20 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001222/0.2956, allocations: 204 kB / 1.005 GB, free: 15.82 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/0.2977, allocations: 1.522 MB / 1.006 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.2997, allocations: 0.6563 MB / 1.007 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.2997, allocations: 1.562 kB / 1.007 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.3003, allocations: 270.7 kB / 1.007 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.3016, allocations: 155.1 kB / 1.007 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.3113, allocations: 12.07 MB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/0.3122, allocations: 1.003 MB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007969/0.3131, allocations: 149.1 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.3137, allocations: 287.3 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of SimCode: time 3.076e-06/0.3137, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06553/0.3793, allocations: 14.75 MB / 1.035 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/0.3797, allocations: 206.2 kB / 1.035 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/3.511, allocations: 0 / 1.035 GB, free: 0.5391 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)