Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.089/2.089, allocations: 390.5 MB / 398 MB, free: 10.93 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.001018/0.001018, allocations: 176.5 kB / 491.2 MB, free: 1.539 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.31/1.31, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009865/0.0009865, allocations: 94.67 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.495e-05/1.496e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7066/0.917, allocations: 162 MB / 1.371 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.9172, allocations: 81.31 kB / 1.371 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08257/0.9998, allocations: 27.82 MB / 1.398 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9998, allocations: 3.938 kB / 1.398 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.718e-05/0.9999, allocations: 11.56 kB / 1.398 GB, free: 25.46 MB / 0.8386 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.001376/1.001, allocations: 0.8339 MB / 1.399 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.001, allocations: 7.688 kB / 1.399 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/1.002, allocations: 77.47 kB / 1.399 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.004, allocations: 1.228 MB / 1.4 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/1.004, allocations: 11.61 kB / 1.4 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/1.004, allocations: 27.25 kB / 1.4 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002919/1.004, allocations: 201.3 kB / 1.4 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/1.004, allocations: 319.6 kB / 1.4 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/1.005, allocations: 0 / 1.4 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.005, allocations: 4.594 kB / 1.4 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.005, allocations: 15.75 kB / 1.4 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/1.007, allocations: 2.016 MB / 1.402 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/1.008, allocations: 378.5 kB / 1.403 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/1.008, allocations: 119.2 kB / 1.403 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/1.008, allocations: 4 kB / 1.403 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/1.008, allocations: 41.5 kB / 1.403 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.542e-06/1.008, allocations: 3.938 kB / 1.403 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005439/1.008, allocations: 328.6 kB / 1.403 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/1.008, allocations: 51.41 kB / 1.403 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/1.009, allocations: 0.8648 MB / 1.404 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.009, allocations: 25.7 kB / 1.404 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/1.01, allocations: 289.2 kB / 1.404 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/1.01, allocations: 68.89 kB / 1.405 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/1.01, allocations: 4 kB / 1.405 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.01, allocations: 377.8 kB / 1.405 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/1.01, allocations: 213.7 kB / 1.405 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/1.01, allocations: 480.5 kB / 1.406 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/1.011, allocations: 283 kB / 1.406 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.85e-06/1.011, allocations: 4 kB / 1.406 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008351/1.012, allocations: 0.7185 MB / 1.407 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.012, allocations: 12 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.012, allocations: 8 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/1.012, allocations: 56.5 kB / 1.407 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/1.012, allocations: 140 kB / 1.407 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/1.013, allocations: 1.426 MB / 1.408 GB, free: 17.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/1.014, allocations: 187.3 kB / 1.408 GB, free: 17.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/1.014, allocations: 23.94 kB / 1.408 GB, free: 17.08 MB / 0.8386 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 () * 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.000102/1.014, allocations: 128.5 kB / 1.408 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003663/1.015, allocations: 324.4 kB / 1.409 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/1.015, allocations: 59.25 kB / 1.409 GB, free: 16.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/1.015, allocations: 64.95 kB / 1.409 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/1.015, allocations: 4 kB / 1.409 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/1.015, allocations: 0 / 1.409 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.015, allocations: 3.984 kB / 1.409 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/1.015, allocations: 0.6234 MB / 1.41 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.015, allocations: 0 / 1.41 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/1.016, allocations: 43.97 kB / 1.41 GB, free: 16.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/1.016, allocations: 52.62 kB / 1.41 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/1.016, allocations: 4 kB / 1.41 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008709/1.017, allocations: 1.404 MB / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.017, allocations: 0 / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/1.017, allocations: 0.5359 MB / 1.412 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/1.017, allocations: 354.5 kB / 1.412 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/1.018, allocations: 7.984 kB / 1.412 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/1.018, allocations: 83.94 kB / 1.412 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/1.018, allocations: 15.55 kB / 1.412 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.018, allocations: 4 kB / 1.412 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007068/1.019, allocations: 0.6521 MB / 1.413 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 0 / 1.413 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006688/1.02, allocations: 187.8 kB / 1.413 GB, free: 12.98 MB / 0.8386 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 () * 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.001057/1.021, allocations: 1.151 MB / 1.414 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007678/1.021, allocations: 0.5302 MB / 1.414 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.021, allocations: 4 kB / 1.414 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/1.022, allocations: 222.6 kB / 1.415 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/1.022, allocations: 158.5 kB / 1.415 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/1.025, allocations: 1.404 MB / 1.416 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/1.025, allocations: 1.026 MB / 1.417 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000441/1.026, allocations: 184.4 kB / 1.417 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/1.026, allocations: 206.2 kB / 1.418 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.026, allocations: 0 / 1.418 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/1.062, allocations: 13.24 MB / 1.43 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.063, allocations: 138.8 kB / 1.431 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/3.082, allocations: 3.938 kB / 1.431 GB, free: 11.32 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat