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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008645/0.0008645, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005323/0.005323, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.543, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.002758/0.5458, allocations: 3.357 MB / 0.9584 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.5486, allocations: 2.51 MB / 0.9609 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.5488, allocations: 14.75 kB / 0.9609 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.5493, allocations: 222.2 kB / 0.9611 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.55, allocations: 466.9 kB / 0.9616 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.5508, allocations: 463.7 kB / 0.962 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.5521, allocations: 1.615 MB / 0.9636 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.5523, allocations: 132.2 kB / 0.9637 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.5527, allocations: 385.5 kB / 0.9641 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.5532, allocations: 494 kB / 0.9645 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.5533, allocations: 29.44 kB / 0.9646 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.5534, allocations: 32.22 kB / 0.9646 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.5536, allocations: 315.9 kB / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.5539, allocations: 453 kB / 0.9653 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.5547, allocations: 0.862 MB / 0.9662 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5547, allocations: 1.375 kB / 0.9662 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5547, allocations: 0 / 0.9662 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5547, allocations: 4 kB / 0.9662 GB, free: 15.64 MB / 0.7325 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.001823/0.5566, allocations: 1.116 MB / 0.9673 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5566, allocations: 9.938 kB / 0.9673 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.5567, allocations: 69.25 kB / 0.9673 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5568, allocations: 102.6 kB / 0.9674 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.5577, allocations: 0.6418 MB / 0.9681 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.5578, allocations: 45.53 kB / 0.9681 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.5579, allocations: 61.45 kB / 0.9682 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.5585, allocations: 400.7 kB / 0.9686 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5585, allocations: 5.094 kB / 0.9686 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.5585, allocations: 15.94 kB / 0.9686 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5586, allocations: 12.22 kB / 0.9686 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.5589, allocations: 224.2 kB / 0.9688 GB, free: 13.71 MB / 0.7325 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.002704/0.5617, allocations: 2.52 MB / 0.9713 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.5629, allocations: 491.5 kB / 0.9717 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.5631, allocations: 163.2 kB / 0.9719 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5631, allocations: 2.359 kB / 0.9719 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.5632, allocations: 37.02 kB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.5632, allocations: 0 / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001864/0.565, allocations: 1.207 MB / 0.9731 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.5651, allocations: 58.41 kB / 0.9732 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5662, allocations: 0.9204 MB / 0.9741 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.5662, allocations: 49.05 kB / 0.9741 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.5665, allocations: 370.3 kB / 0.9745 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.5666, allocations: 109.1 kB / 0.9746 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5667, allocations: 95.47 kB / 0.9747 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5669, allocations: 392.6 kB / 0.975 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.5672, allocations: 229.6 kB / 0.9752 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.5678, allocations: 0.625 MB / 0.9759 GB, free: 8.047 MB / 0.7325 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.002742/0.5706, allocations: 1.79 MB / 0.9776 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.5706, allocations: 7.688 kB / 0.9776 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001279/0.5719, allocations: 0.9013 MB / 0.9785 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5719, allocations: 11.78 kB / 0.9785 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.5719, allocations: 17.42 kB / 0.9785 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.5721, allocations: 45.81 kB / 0.9786 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.5727, allocations: 210.3 kB / 0.9788 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008892/0.5736, allocations: 1.36 MB / 0.9801 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.5743, allocations: 59.97 kB / 0.9801 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.5743, allocations: 40 kB / 0.9802 GB, free: 4.602 MB / 0.7325 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.0003019/0.5746, allocations: 294.8 kB / 0.9805 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.5747, allocations: 78.97 kB / 0.9805 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.5749, allocations: 76.53 kB / 0.9806 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5749, allocations: 15.92 kB / 0.9806 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5749, allocations: 3.938 kB / 0.9806 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5749, allocations: 3.984 kB / 0.9806 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.5764, allocations: 1.144 MB / 0.9818 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5764, allocations: 0 / 0.9818 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.5768, allocations: 83.88 kB / 0.9818 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-05/0.5769, allocations: 32.83 kB / 0.9819 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.5769, allocations: 16.12 kB / 0.9819 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008281/0.5777, allocations: 1.331 MB / 0.9832 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5777, allocations: 4.156 kB / 0.9832 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.5785, allocations: 0.66 MB / 0.9838 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.5788, allocations: 200.1 kB / 0.984 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.5789, allocations: 8 kB / 0.984 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.5793, allocations: 23.92 kB / 0.9841 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.5793, allocations: 23.97 kB / 0.9841 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.5794, allocations: 7.938 kB / 0.9841 GB, free: 352 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007234/0.5801, allocations: 0.6278 MB / 0.9847 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5801, allocations: 0 / 0.9847 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006389/0.5807, allocations: 208 kB / 0.9849 GB, free: 15.52 MB / 0.7481 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.001037/0.5818, allocations: 1.223 MB / 0.9861 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009247/0.5827, allocations: 0.6409 MB / 0.9867 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5827, allocations: 1.5 kB / 0.9867 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.5831, allocations: 276.7 kB / 0.987 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.584, allocations: 163.2 kB / 0.9871 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/0.593, allocations: 8.053 MB / 0.995 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.5935, allocations: 0.9877 MB / 0.996 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003594/0.5939, allocations: 149.9 kB / 0.9961 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.5942, allocations: 299.3 kB / 0.9964 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.5942, allocations: 0 / 0.9964 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7421/1.336, allocations: 15.13 MB / 1.011 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/1.337, allocations: 221 kB / 1.011 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.976, allocations: 0 / 1.011 GB, free: 3.949 MB / 0.7637 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)