Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.408/2.408, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001244/0.001244, allocations: 183.9 kB / 0.4901 GB, free: 2.238 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.703/1.703, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.001027/0.001027, allocations: 112.1 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004832, allocations: 7.188 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.309, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5075, allocations: 162.8 MB / 1.388 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5078, allocations: 75.97 kB / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09445/0.6023, allocations: 28.49 MB / 1.416 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.558e-06/0.6024, allocations: 0 / 1.416 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.512e-05/0.6024, allocations: 15.94 kB / 1.416 GB, free: 9.93 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002994/0.6054, allocations: 1.203 MB / 1.417 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.6055, allocations: 8.562 kB / 1.417 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.6056, allocations: 54.55 kB / 1.417 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.6058, allocations: 79.06 kB / 1.417 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.6085, allocations: 1.261 MB / 1.419 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.6085, allocations: 28.52 kB / 1.419 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.6086, allocations: 43.94 kB / 1.419 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.6092, allocations: 362.8 kB / 1.419 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6092, allocations: 4 kB / 1.419 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.6093, allocations: 12 kB / 1.419 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.6093, allocations: 4 kB / 1.419 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.6097, allocations: 237.5 kB / 1.419 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.6127, allocations: 2.09 MB / 1.421 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6137, allocations: 394.5 kB / 1.422 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.6138, allocations: 3.984 kB / 1.422 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6138, allocations: 46.83 kB / 1.422 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/0.6138, allocations: 0 / 1.422 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001036/0.6149, allocations: 0.5414 MB / 1.422 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.6149, allocations: 59.28 kB / 1.422 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.6161, allocations: 0.9056 MB / 1.423 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.6162, allocations: 37.7 kB / 1.423 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6165, allocations: 304.4 kB / 1.424 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.6166, allocations: 74.94 kB / 1.424 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.6166, allocations: 12 kB / 1.424 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.6168, allocations: 378.8 kB / 1.424 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.6171, allocations: 228.9 kB / 1.424 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.6177, allocations: 0.4973 MB / 1.425 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.6181, allocations: 305.3 kB / 1.425 GB, free: 360 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6182, allocations: 4 kB / 1.425 GB, free: 356 kB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.5311/1.149, allocations: 0.7901 MB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/1.149, allocations: 15.97 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.149, allocations: 8.312 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/1.15, allocations: 58.27 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/1.15, allocations: 140 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/1.151, allocations: 1.441 MB / 1.427 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.152, allocations: 207.9 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/1.152, allocations: 26.91 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0004317/1.153, allocations: 345 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.153, allocations: 64.78 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/1.153, allocations: 71.23 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.153, allocations: 0 / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.153, allocations: 4.062 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.153, allocations: 3.531 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/1.154, allocations: 0.6659 MB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.154, allocations: 0 / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.154, allocations: 52.25 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/1.154, allocations: 40.66 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/1.154, allocations: 8.562 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008009/1.155, allocations: 1.428 MB / 1.43 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.155, allocations: 0.5156 kB / 1.43 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/1.156, allocations: 0.5752 MB / 1.431 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/1.156, allocations: 355.7 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/1.156, allocations: 7.922 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/1.157, allocations: 85.03 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/1.157, allocations: 14.02 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.157, allocations: 9.938 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000938/1.158, allocations: 0.6961 MB / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/1.158, allocations: 0 / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006875/1.158, allocations: 192.5 kB / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.001081/1.159, allocations: 1.201 MB / 1.433 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009082/1.16, allocations: 0.5719 MB / 1.434 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.16, allocations: 3.812 kB / 1.434 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/1.161, allocations: 248.2 kB / 1.434 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/1.161, allocations: 159.7 kB / 1.434 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/1.166, allocations: 8.594 MB / 1.443 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/1.166, allocations: 1.023 MB / 1.444 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005221/1.167, allocations: 186.6 kB / 1.444 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.167, allocations: 205 kB / 1.444 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/1.167, allocations: 0 / 1.444 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/1.2, allocations: 15.5 MB / 1.459 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.201, allocations: 208 kB / 1.459 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.639, allocations: 3.391 kB / 1.459 GB, free: 167.2 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat