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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.401/2.401, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 71.88 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5684, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004895/0.5733, allocations: 3.716 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.577, allocations: 2.513 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.5772, allocations: 11.94 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.5779, allocations: 250.3 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008267/0.5788, allocations: 497.6 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.5798, allocations: 0.534 MB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.581, allocations: 1.363 MB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.5813, allocations: 149.1 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.5817, allocations: 434.5 kB / 1.027 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.5823, allocations: 498.1 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.5824, allocations: 56 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.5825, allocations: 64 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.5828, allocations: 343 kB / 1.028 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.5832, allocations: 461.5 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.5839, allocations: 0.8913 MB / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5839, allocations: 0 / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5839, allocations: 0 / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.5839, allocations: 3.938 kB / 1.029 GB, free: 6.715 MB / 0.7794 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.001973/0.5859, allocations: 1.253 MB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5859, allocations: 8.031 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.586, allocations: 70.72 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.5862, allocations: 107.7 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.587, allocations: 0.6326 MB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.5871, allocations: 45.03 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.5872, allocations: 72.02 kB / 1.031 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.5877, allocations: 398.9 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5877, allocations: 3.938 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.5878, allocations: 16 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5878, allocations: 8 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.5882, allocations: 222.4 kB / 1.032 GB, free: 3.758 MB / 0.7794 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.002512/0.5907, allocations: 2.498 MB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5918, allocations: 0.4884 MB / 1.035 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.5921, allocations: 157.2 kB / 1.035 GB, free: 420 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5921, allocations: 240 / 1.035 GB, free: 420 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.5921, allocations: 38.8 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.052e-06/0.5921, allocations: 0 / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001775/0.5939, allocations: 1.206 MB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.5939, allocations: 55.41 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/0.5949, allocations: 0.9269 MB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.595, allocations: 41.7 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.5952, allocations: 364.7 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/0.5953, allocations: 114.4 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.5955, allocations: 166.6 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5957, allocations: 398.7 kB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.596, allocations: 221.8 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.5966, allocations: 0.6192 MB / 1.039 GB, free: 11.97 MB / 0.795 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.002625/0.5992, allocations: 1.767 MB / 1.04 GB, free: 9.973 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5992, allocations: 7.938 kB / 1.04 GB, free: 9.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001175/0.6004, allocations: 0.8961 MB / 1.041 GB, free: 9.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6004, allocations: 17.91 kB / 1.041 GB, free: 9.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6005, allocations: 12 kB / 1.041 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.6006, allocations: 52.83 kB / 1.041 GB, free: 8.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.6012, allocations: 203.6 kB / 1.042 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.6022, allocations: 1.468 MB / 1.043 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.6028, allocations: 43.91 kB / 1.043 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.6029, allocations: 40 kB / 1.043 GB, free: 7.086 MB / 0.795 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.0002799/0.6032, allocations: 299 kB / 1.043 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.6033, allocations: 86.84 kB / 1.043 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.6034, allocations: 80.52 kB / 1.044 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6034, allocations: 4.062 kB / 1.044 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6034, allocations: 11.98 kB / 1.044 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6034, allocations: 0 / 1.044 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.6048, allocations: 1.14 MB / 1.045 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6048, allocations: 4.125 kB / 1.045 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.6052, allocations: 87.88 kB / 1.045 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.285e-05/0.6053, allocations: 28.84 kB / 1.045 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.6053, allocations: 11.98 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008413/0.6061, allocations: 1.43 MB / 1.046 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6062, allocations: 4.031 kB / 1.046 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.6069, allocations: 0.6704 MB / 1.047 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.6071, allocations: 196.1 kB / 1.047 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/0.6072, allocations: 12 kB / 1.047 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.6076, allocations: 15.98 kB / 1.047 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.6077, allocations: 19.97 kB / 1.047 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6077, allocations: 12 kB / 1.047 GB, free: 2.719 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006856/0.6084, allocations: 0.62 MB / 1.048 GB, free: 2.102 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6084, allocations: 4 kB / 1.048 GB, free: 2.098 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006132/0.609, allocations: 207.9 kB / 1.048 GB, free: 1.895 MB / 0.795 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.0009949/0.61, allocations: 1.207 MB / 1.049 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.611, allocations: 0.6657 MB / 1.05 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6111, allocations: 4 kB / 1.05 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.6114, allocations: 266.5 kB / 1.05 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.6121, allocations: 175.6 kB / 1.05 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.6201, allocations: 7.714 MB / 1.058 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.6206, allocations: 0.9915 MB / 1.059 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.621, allocations: 157.8 kB / 1.059 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.6213, allocations: 287.3 kB / 1.059 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.6213, allocations: 0 / 1.059 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/1.686, allocations: 15.88 MB / 1.075 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.78, allocations: 3.094 kB / 1.075 GB, free: 6.109 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)