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.184/2.184, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001426/0.001426, allocations: 184.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008659/0.0008659, allocations: 91.89 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.586e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7964/1.03, allocations: 159.6 MB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.03, allocations: 71.66 kB / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.06746/1.097, allocations: 18.66 MB / 1.393 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/1.097, allocations: 0 / 1.393 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.761e-05/1.097, allocations: 23.94 kB / 1.393 GB, free: 10.3 MB / 0.8542 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.001796/1.099, allocations: 0.9266 MB / 1.394 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.099, allocations: 12.03 kB / 1.394 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/1.099, allocations: 71.28 kB / 1.394 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/1.1, allocations: 98.78 kB / 1.394 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/1.102, allocations: 1.07 MB / 1.395 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.102, allocations: 38.53 kB / 1.395 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/1.102, allocations: 56.94 kB / 1.395 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/1.103, allocations: 391.5 kB / 1.396 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.103, allocations: 4 kB / 1.396 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/1.103, allocations: 10.81 kB / 1.396 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/1.103, allocations: 8 kB / 1.396 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/1.103, allocations: 206.6 kB / 1.396 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/1.106, allocations: 2.302 MB / 1.398 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.107, allocations: 468.2 kB / 1.398 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/1.108, allocations: 150.9 kB / 1.399 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.108, allocations: 240 / 1.399 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/1.108, allocations: 40.61 kB / 1.399 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/1.108, allocations: 0 / 1.399 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.001715/1.109, allocations: 0.9794 MB / 1.4 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.109, allocations: 59.41 kB / 1.4 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.11, allocations: 0.8038 MB / 1.4 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/1.11, allocations: 38.33 kB / 1.401 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.111, allocations: 368.5 kB / 1.401 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.111, allocations: 115 kB / 1.401 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/1.111, allocations: 14.12 kB / 1.401 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.111, allocations: 403.5 kB / 1.401 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/1.111, allocations: 208.6 kB / 1.402 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/1.112, allocations: 0.5995 MB / 1.402 GB, free: 2.008 MB / 0.8542 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.00202/1.114, allocations: 1.026 MB / 1.403 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.114, allocations: 4 kB / 1.403 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001281/1.115, allocations: 0.866 MB / 1.404 GB, free: 400 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.115, allocations: 8.188 kB / 1.404 GB, free: 392 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.115, allocations: 23.95 kB / 1.404 GB, free: 368 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/1.115, allocations: 48.28 kB / 1.404 GB, free: 320 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/1.116, allocations: 210.5 kB / 1.404 GB, free: 116 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/1.117, allocations: 1.358 MB / 1.406 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/1.118, allocations: 62.05 kB / 1.406 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/1.118, allocations: 47.12 kB / 1.406 GB, free: 14.59 MB / 0.8698 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 () * 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.0001845/1.118, allocations: 183.9 kB / 1.406 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/1.119, allocations: 82.88 kB / 1.406 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/1.119, allocations: 86.97 kB / 1.406 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.119, allocations: 4 kB / 1.406 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/1.119, allocations: 4 kB / 1.406 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.119, allocations: 3.984 kB / 1.406 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/1.121, allocations: 1.185 MB / 1.407 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.121, allocations: 3.938 kB / 1.407 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/1.121, allocations: 84.06 kB / 1.407 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/1.121, allocations: 31.84 kB / 1.407 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/1.121, allocations: 11.3 kB / 1.407 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008928/1.122, allocations: 1.327 MB / 1.409 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.122, allocations: 3.938 kB / 1.409 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/1.123, allocations: 0.6727 MB / 1.409 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/1.123, allocations: 213.1 kB / 1.41 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/1.123, allocations: 6.75 kB / 1.41 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/1.124, allocations: 39.7 kB / 1.41 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/1.124, allocations: 26.84 kB / 1.41 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.124, allocations: 7.875 kB / 1.41 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007349/1.125, allocations: 0.5988 MB / 1.41 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.593e-06/1.125, allocations: 0 / 1.41 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000718/1.125, allocations: 213.9 kB / 1.41 GB, free: 10.23 MB / 0.8698 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 () * 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.001242/1.127, allocations: 1.568 MB / 1.412 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009781/1.128, allocations: 0.6205 MB / 1.413 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.128, allocations: 1.375 kB / 1.413 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/1.128, allocations: 260.3 kB / 1.413 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/1.129, allocations: 170.4 kB / 1.413 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/1.131, allocations: 1.449 MB / 1.414 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/1.132, allocations: 1 MB / 1.415 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000409/1.132, allocations: 161.8 kB / 1.415 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/1.132, allocations: 294.3 kB / 1.416 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/1.132, allocations: 0 / 1.416 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/1.166, allocations: 16.8 MB / 1.432 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.166, allocations: 177.6 kB / 1.432 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.513, allocations: 3.938 kB / 1.432 GB, free: 4.465 MB / 0.8855 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