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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001438/0.001439, allocations: 180 kB / 0.4901 GB, free: 2.223 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.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009544/0.0009541, allocations: 106.5 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 7.062 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2832, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.4851, allocations: 159.6 MB / 1.385 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.4854, allocations: 83.95 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06719/0.5526, allocations: 18.64 MB / 1.403 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5527, allocations: 0 / 1.403 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001046/0.5528, allocations: 16 kB / 1.403 GB, free: 6.922 MB / 0.9011 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.003821/0.5566, allocations: 1.191 MB / 1.405 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.5567, allocations: 8.562 kB / 1.405 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.5568, allocations: 70.53 kB / 1.405 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.5573, allocations: 102.7 kB / 1.405 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.5603, allocations: 1.078 MB / 1.406 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.5603, allocations: 44.59 kB / 1.406 GB, free: 4.332 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5604, allocations: 52 kB / 1.406 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.5611, allocations: 398.9 kB / 1.406 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5612, allocations: 4 kB / 1.406 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.5612, allocations: 16 kB / 1.406 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5612, allocations: 12 kB / 1.406 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.5617, allocations: 222.4 kB / 1.407 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.5651, allocations: 2.298 MB / 1.409 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.5665, allocations: 484 kB / 1.409 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.5665, allocations: 4.219 kB / 1.409 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.5665, allocations: 42.8 kB / 1.409 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.5666, allocations: 0 / 1.409 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.0028/0.5694, allocations: 1.205 MB / 1.41 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.5694, allocations: 63.36 kB / 1.411 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.5711, allocations: 0.8208 MB / 1.411 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.5712, allocations: 41.7 kB / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.5716, allocations: 368.7 kB / 1.412 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5717, allocations: 110.4 kB / 1.412 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.5718, allocations: 16 kB / 1.412 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.572, allocations: 394.7 kB / 1.412 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.5724, allocations: 221.8 kB / 1.412 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.5731, allocations: 0.6114 MB / 1.413 GB, free: 12.5 MB / 0.9167 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.002222/0.5753, allocations: 1.068 MB / 1.414 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.5753, allocations: 4 kB / 1.414 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001518/0.5769, allocations: 0.8842 MB / 1.415 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5769, allocations: 12 kB / 1.415 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.5769, allocations: 12 kB / 1.415 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.5771, allocations: 56.78 kB / 1.415 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/0.5779, allocations: 211.6 kB / 1.415 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.5791, allocations: 1.366 MB / 1.417 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5801, allocations: 72.11 kB / 1.417 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.5802, allocations: 40 kB / 1.417 GB, free: 8.605 MB / 0.9167 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.0004561/0.5807, allocations: 297.3 kB / 1.417 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5809, allocations: 82.88 kB / 1.417 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.581, allocations: 84.41 kB / 1.417 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.581, allocations: 7.953 kB / 1.417 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5811, allocations: 4 kB / 1.417 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5811, allocations: 3.984 kB / 1.417 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.583, allocations: 1.202 MB / 1.418 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.583, allocations: 4 kB / 1.418 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.5834, allocations: 79.89 kB / 1.418 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.5836, allocations: 32.83 kB / 1.418 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.5836, allocations: 12 kB / 1.418 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.5847, allocations: 1.338 MB / 1.42 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5847, allocations: 4.031 kB / 1.42 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.5857, allocations: 0.7101 MB / 1.42 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.5861, allocations: 208 kB / 1.421 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5863, allocations: 11.98 kB / 1.421 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.5869, allocations: 35.89 kB / 1.421 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.587, allocations: 19.98 kB / 1.421 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.587, allocations: 8 kB / 1.421 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001016/0.5881, allocations: 0.6122 MB / 1.421 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5881, allocations: 0 / 1.421 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009538/0.589, allocations: 208 kB / 1.421 GB, free: 3.375 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.001666/0.5907, allocations: 1.587 MB / 1.423 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.5919, allocations: 0.6419 MB / 1.424 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.592, allocations: 0 / 1.424 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.5923, allocations: 279 kB / 1.424 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.5931, allocations: 163.8 kB / 1.424 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5459/1.139, allocations: 12.08 MB / 1.436 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.14, allocations: 0.9989 MB / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005448/1.14, allocations: 151.2 kB / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/1.14, allocations: 292.1 kB / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/1.14, allocations: 0 / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/1.191, allocations: 16.3 MB / 1.453 GB, free: 169 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.191, allocations: 205.7 kB / 1.453 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.798, allocations: 0 / 1.453 GB, free: 168.8 MB / 0.9167 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) 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