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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 177.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.1 MB / 0.7948 GB, free: 18 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.000956, allocations: 100.5 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.5194, allocations: 158.8 MB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5197, allocations: 87.95 kB / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06663/0.5863, allocations: 18.64 MB / 1.396 GB, free: 348 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5864, allocations: 0 / 1.396 GB, free: 348 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001194/0.5865, allocations: 23.94 kB / 1.396 GB, free: 324 kB / 0.8855 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.004357/0.5909, allocations: 1.187 MB / 1.397 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.5909, allocations: 12.03 kB / 1.398 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.5911, allocations: 66.53 kB / 1.398 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.5917, allocations: 102.8 kB / 1.398 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.595, allocations: 1.07 MB / 1.399 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.595, allocations: 48.59 kB / 1.399 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5952, allocations: 52 kB / 1.399 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.5959, allocations: 402.9 kB / 1.399 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5959, allocations: 0 / 1.399 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.596, allocations: 16 kB / 1.399 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.596, allocations: 8 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.5964, allocations: 226.4 kB / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.6001, allocations: 2.297 MB / 1.402 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6014, allocations: 493 kB / 1.402 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.6015, allocations: 4.234 kB / 1.402 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.6015, allocations: 42.8 kB / 1.402 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.6015, allocations: 0 / 1.402 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.002545/0.6041, allocations: 1.204 MB / 1.403 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.6041, allocations: 71.28 kB / 1.403 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.6057, allocations: 0.8092 MB / 1.404 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.6058, allocations: 41.7 kB / 1.404 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.6061, allocations: 368.7 kB / 1.405 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.6063, allocations: 118.4 kB / 1.405 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.6064, allocations: 16 kB / 1.405 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.6066, allocations: 390.8 kB / 1.405 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.607, allocations: 217.8 kB / 1.405 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007651/0.6078, allocations: 0.6232 MB / 1.406 GB, free: 5.902 MB / 0.9011 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[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.6103, allocations: 1.055 MB / 1.407 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.6103, allocations: 4 kB / 1.407 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001653/0.612, allocations: 0.8803 MB / 1.408 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.612, allocations: 21.38 kB / 1.408 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.612, allocations: 12 kB / 1.408 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.6122, allocations: 56.78 kB / 1.408 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.6129, allocations: 207.6 kB / 1.408 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.6141, allocations: 1.358 MB / 1.409 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6152, allocations: 72.03 kB / 1.41 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.6152, allocations: 44 kB / 1.41 GB, free: 2.012 MB / 0.9011 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[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.0004328/0.6157, allocations: 295.4 kB / 1.41 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.6159, allocations: 82.97 kB / 1.41 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.616, allocations: 80.52 kB / 1.41 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.616, allocations: 7.953 kB / 1.41 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6161, allocations: 0 / 1.41 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6161, allocations: 8 kB / 1.41 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.6182, allocations: 1.201 MB / 1.411 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6182, allocations: 4.125 kB / 1.411 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.6186, allocations: 83.94 kB / 1.411 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.6188, allocations: 36.77 kB / 1.411 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.6188, allocations: 8 kB / 1.411 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.6199, allocations: 1.342 MB / 1.413 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6199, allocations: 0 / 1.413 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.621, allocations: 0.7087 MB / 1.413 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.6214, allocations: 204 kB / 1.413 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.6216, allocations: 12 kB / 1.414 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.6222, allocations: 39.8 kB / 1.414 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.6223, allocations: 23.97 kB / 1.414 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.6223, allocations: 8 kB / 1.414 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009531/0.6233, allocations: 0.6122 MB / 1.414 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6233, allocations: 0 / 1.414 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009263/0.6242, allocations: 208 kB / 1.414 GB, free: 12.78 MB / 0.9167 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.001582/0.6258, allocations: 1.58 MB / 1.416 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.627, allocations: 0.6524 MB / 1.417 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6271, allocations: 5.562 kB / 1.417 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.6274, allocations: 270.7 kB / 1.417 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.6282, allocations: 159.1 kB / 1.417 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5388/1.167, allocations: 12.08 MB / 1.429 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/1.168, allocations: 1 MB / 1.43 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006547/1.168, allocations: 155.4 kB / 1.43 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/1.169, allocations: 293.4 kB / 1.43 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/1.169, allocations: 0 / 1.43 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/1.211, allocations: 16.29 MB / 1.446 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/1.211, allocations: 207.6 kB / 1.446 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.655, allocations: 0 / 1.446 GB, free: 184.6 MB / 0.9167 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat does not exist to compare? outputFormat=mat