Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_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.001237/0.001237, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001132/0.001132, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.539/2.539, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 11.98 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6719, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003696/0.6757, allocations: 3 MB / 0.9838 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.6798, allocations: 2.369 MB / 0.9861 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.6801, allocations: 15.88 kB / 0.9861 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.681, allocations: 282.8 kB / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007881/0.6818, allocations: 390.9 kB / 0.9868 GB, free: 184 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.6829, allocations: 439.1 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.6841, allocations: 0.7641 MB / 0.9879 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.6843, allocations: 115.5 kB / 0.988 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.6848, allocations: 330.9 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.6853, allocations: 350.6 kB / 0.9887 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.6854, allocations: 24 kB / 0.9887 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.6855, allocations: 28 kB / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.6858, allocations: 299.2 kB / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.686, allocations: 181.3 kB / 0.9892 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.6866, allocations: 0.6506 MB / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6866, allocations: 0 / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6866, allocations: 0 / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.6866, allocations: 4 kB / 0.9898 GB, free: 13.01 MB / 0.7481 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.00195/0.6886, allocations: 1.121 MB / 0.9909 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6886, allocations: 12.03 kB / 0.9909 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.435e-05/0.6887, allocations: 66.53 kB / 0.991 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.6889, allocations: 98.88 kB / 0.9911 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009647/0.6899, allocations: 0.5733 MB / 0.9916 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6899, allocations: 40.66 kB / 0.9917 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.69, allocations: 52 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.6906, allocations: 402.9 kB / 0.9921 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6906, allocations: 0 / 0.9921 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.6907, allocations: 16 kB / 0.9921 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.6907, allocations: 12 kB / 0.9921 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.6911, allocations: 226.4 kB / 0.9924 GB, free: 10.27 MB / 0.7481 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.00305/0.6941, allocations: 2.498 MB / 0.9948 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.6954, allocations: 492.5 kB / 0.9953 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.6955, allocations: 240 / 0.9953 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.6955, allocations: 46.73 kB / 0.9953 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.6955, allocations: 3.938 kB / 0.9953 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.00209/0.6976, allocations: 1.199 MB / 0.9965 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.6977, allocations: 59.36 kB / 0.9965 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.6988, allocations: 0.8802 MB / 0.9974 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.6988, allocations: 41.7 kB / 0.9974 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.6991, allocations: 368.7 kB / 0.9978 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-05/0.6992, allocations: 114.4 kB / 0.9979 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.6993, allocations: 16 kB / 0.9979 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6995, allocations: 398.8 kB / 0.9983 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.6998, allocations: 225.8 kB / 0.9985 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.7005, allocations: 0.6231 MB / 0.9991 GB, free: 2.828 MB / 0.7481 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.002175/0.7027, allocations: 1.083 MB / 1 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7027, allocations: 4 kB / 1 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001391/0.7041, allocations: 0.8965 MB / 1.001 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.7042, allocations: 12 kB / 1.001 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7042, allocations: 12 kB / 1.001 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.7044, allocations: 56.78 kB / 1.001 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.7051, allocations: 211.6 kB / 1.001 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.7063, allocations: 1.366 MB / 1.003 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.707, allocations: 52.22 kB / 1.003 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.7071, allocations: 44 kB / 1.003 GB, free: 14.91 MB / 0.7637 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.000393/0.7075, allocations: 289.4 kB / 1.003 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.7076, allocations: 82.88 kB / 1.003 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.7077, allocations: 80.52 kB / 1.003 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7077, allocations: 11.89 kB / 1.003 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7077, allocations: 0 / 1.003 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7078, allocations: 4 kB / 1.003 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.7094, allocations: 1.132 MB / 1.004 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7094, allocations: 4 kB / 1.004 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.7098, allocations: 79.88 kB / 1.004 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.71, allocations: 32.83 kB / 1.004 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.71, allocations: 8 kB / 1.004 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.711, allocations: 1.346 MB / 1.006 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.711, allocations: 0 / 1.006 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/0.712, allocations: 0.7093 MB / 1.006 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.7123, allocations: 200 kB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.7123, allocations: 8 kB / 1.007 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.7127, allocations: 19.98 kB / 1.007 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.7128, allocations: 27.97 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.7128, allocations: 4 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007711/0.7136, allocations: 0.5888 MB / 1.007 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7136, allocations: 3.938 kB / 1.007 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007585/0.7144, allocations: 204 kB / 1.007 GB, free: 9.809 MB / 0.7637 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.00139/0.7158, allocations: 1.547 MB / 1.009 GB, free: 8.207 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.7174, allocations: 0.6425 MB / 1.01 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7174, allocations: 0 / 1.01 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.7179, allocations: 266.5 kB / 1.01 GB, free: 7.281 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.719, allocations: 159.4 kB / 1.01 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/0.7264, allocations: 12.08 MB / 1.022 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.7271, allocations: 1.003 MB / 1.023 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005588/0.7277, allocations: 145.1 kB / 1.023 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.7281, allocations: 291.3 kB / 1.023 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of SimCode: time 1.533e-06/0.7281, allocations: 0 / 1.023 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.7607, allocations: 14.74 MB / 1.038 GB, free: 10.78 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.761, allocations: 210 kB / 1.038 GB, free: 10.54 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.889, allocations: 4 kB / 1.038 GB, free: 10.54 MB / 0.795 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat does not exist to compare? outputFormat=mat