Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.225/2.225, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009684/0.0009684, allocations: 173 kB / 492.3 MB, free: 0.6328 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.484/1.484, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009172/0.0009173, allocations: 91.41 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.632e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2596, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8443/1.104, allocations: 161.9 MB / 1.371 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/1.104, allocations: 75.38 kB / 1.371 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08732/1.192, allocations: 28.46 MB / 1.398 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.146e-06/1.192, allocations: 0 / 1.398 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001339/1.192, allocations: 19.94 kB / 1.398 GB, free: 26.33 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.001912/1.194, allocations: 0.8314 MB / 1.399 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.194, allocations: 8.031 kB / 1.399 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/1.194, allocations: 59.55 kB / 1.399 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/1.194, allocations: 83.06 kB / 1.399 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/1.197, allocations: 1.223 MB / 1.401 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/1.197, allocations: 31.19 kB / 1.401 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/1.197, allocations: 44.33 kB / 1.401 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/1.198, allocations: 348.9 kB / 1.401 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.198, allocations: 3.938 kB / 1.401 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.198, allocations: 13.56 kB / 1.401 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/1.198, allocations: 11.98 kB / 1.401 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/1.198, allocations: 218 kB / 1.401 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/1.201, allocations: 2.084 MB / 1.403 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/1.202, allocations: 386 kB / 1.404 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/1.202, allocations: 127.8 kB / 1.404 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/1.202, allocations: 7.984 kB / 1.404 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/1.202, allocations: 42.02 kB / 1.404 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.405e-06/1.202, allocations: 0 / 1.404 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0006754/1.203, allocations: 330 kB / 1.404 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.203, allocations: 51.41 kB / 1.404 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.204, allocations: 0.9038 MB / 1.405 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/1.204, allocations: 37.45 kB / 1.405 GB, free: 20.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/1.204, allocations: 297.2 kB / 1.405 GB, free: 20.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/1.204, allocations: 81.03 kB / 1.405 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/1.204, allocations: 11.38 kB / 1.405 GB, free: 20.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.204, allocations: 381.1 kB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/1.205, allocations: 222.5 kB / 1.406 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/1.205, allocations: 496.2 kB / 1.406 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/1.205, allocations: 302.5 kB / 1.407 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.205, allocations: 4 kB / 1.407 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001176/1.207, allocations: 0.7817 MB / 1.408 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.207, allocations: 12 kB / 1.408 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.207, allocations: 8 kB / 1.408 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/1.207, allocations: 56.14 kB / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/1.207, allocations: 139 kB / 1.408 GB, free: 18.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/1.208, allocations: 1.442 MB / 1.409 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.209, allocations: 192.4 kB / 1.409 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/1.21, allocations: 31.72 kB / 1.409 GB, free: 16.43 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.0001237/1.21, allocations: 142.7 kB / 1.41 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/1.21, allocations: 63.16 kB / 1.41 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/1.21, allocations: 65.72 kB / 1.41 GB, free: 16.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.21, allocations: 0 / 1.41 GB, free: 16.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.21, allocations: 4 kB / 1.41 GB, free: 16.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.21, allocations: 3.984 kB / 1.41 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/1.211, allocations: 0.665 MB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.211, allocations: 7.938 kB / 1.41 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/1.211, allocations: 51.95 kB / 1.41 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/1.211, allocations: 39.45 kB / 1.41 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/1.211, allocations: 11.48 kB / 1.41 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/1.212, allocations: 1.423 MB / 1.412 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.212, allocations: 0 / 1.412 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/1.213, allocations: 0.555 MB / 1.412 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/1.214, allocations: 344.4 kB / 1.413 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.214, allocations: 11.81 kB / 1.413 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/1.214, allocations: 83.75 kB / 1.413 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/1.214, allocations: 19.59 kB / 1.413 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/1.214, allocations: 4 kB / 1.413 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009871/1.215, allocations: 0.6808 MB / 1.413 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.215, allocations: 4 kB / 1.413 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008598/1.216, allocations: 201.5 kB / 1.414 GB, free: 12.46 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.001194/1.218, allocations: 1.18 MB / 1.415 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008882/1.218, allocations: 0.5549 MB / 1.415 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.218, allocations: 0 / 1.415 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/1.219, allocations: 242.4 kB / 1.416 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/1.219, allocations: 162.5 kB / 1.416 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/1.222, allocations: 1.436 MB / 1.417 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/1.223, allocations: 1.024 MB / 1.418 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004441/1.223, allocations: 180.5 kB / 1.418 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/1.223, allocations: 199.6 kB / 1.418 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of SimCode: time 1.433e-06/1.223, allocations: 0 / 1.418 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/1.26, allocations: 15.95 MB / 1.434 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.26, allocations: 181.6 kB / 1.434 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.568, allocations: 0 / 1.434 GB, free: 8.113 MB / 0.8542 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat