Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.202/2.202, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.00101/0.001011, allocations: 184.7 kB / 487.4 MB, free: 5.059 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.456/1.456, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 99.28 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.276e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.861/1.145, allocations: 161.2 MB / 1.363 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.146, allocations: 79.67 kB / 1.364 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08277/1.228, allocations: 27.84 MB / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/1.228, allocations: 0 / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.786e-05/1.228, allocations: 19.47 kB / 1.391 GB, free: 26.99 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.001201/1.23, allocations: 0.8319 MB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.23, allocations: 7.719 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/1.23, allocations: 77.25 kB / 1.392 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.232, allocations: 1.23 MB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/1.232, allocations: 7.812 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/1.232, allocations: 27.05 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002886/1.232, allocations: 198.1 kB / 1.393 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/1.232, allocations: 326.6 kB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.232, allocations: 3.984 kB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/1.233, allocations: 0 / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.233, allocations: 7.812 kB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/1.235, allocations: 2.017 MB / 1.395 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/1.236, allocations: 376.8 kB / 1.396 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/1.236, allocations: 120.2 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.236, allocations: 7.828 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/1.236, allocations: 37.88 kB / 1.396 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/1.236, allocations: 0 / 1.396 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005252/1.236, allocations: 322.7 kB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/1.237, allocations: 55.25 kB / 1.396 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.238, allocations: 0.8672 MB / 1.397 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/1.238, allocations: 25.7 kB / 1.397 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/1.238, allocations: 292.1 kB / 1.397 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/1.238, allocations: 72.64 kB / 1.397 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/1.238, allocations: 0 / 1.397 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.238, allocations: 374.2 kB / 1.398 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/1.239, allocations: 214.9 kB / 1.398 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/1.239, allocations: 495 kB / 1.399 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/1.239, allocations: 284.1 kB / 1.399 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.239, allocations: 3.875 kB / 1.399 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001198/1.241, allocations: 0.7096 MB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.241, allocations: 11.66 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.241, allocations: 11.56 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/1.241, allocations: 54.62 kB / 1.4 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/1.241, allocations: 137 kB / 1.4 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009417/1.242, allocations: 1.42 MB / 1.401 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008817/1.243, allocations: 187.2 kB / 1.401 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.243, allocations: 26.06 kB / 1.401 GB, free: 20.98 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.0001126/1.243, allocations: 134.8 kB / 1.401 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003615/1.244, allocations: 313.7 kB / 1.402 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/1.244, allocations: 58.5 kB / 1.402 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/1.244, allocations: 66.7 kB / 1.402 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.244, allocations: 3.812 kB / 1.402 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.244, allocations: 4 kB / 1.402 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.244, allocations: 3.984 kB / 1.402 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/1.244, allocations: 0.6337 MB / 1.402 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.244, allocations: 0 / 1.402 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.245, allocations: 45.88 kB / 1.402 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/1.245, allocations: 41.69 kB / 1.403 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/1.245, allocations: 6.938 kB / 1.403 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008906/1.246, allocations: 1.409 MB / 1.404 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.246, allocations: 0 / 1.404 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/1.246, allocations: 0.5368 MB / 1.404 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/1.247, allocations: 348.8 kB / 1.405 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/1.247, allocations: 7.797 kB / 1.405 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/1.247, allocations: 81.56 kB / 1.405 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/1.247, allocations: 15.58 kB / 1.405 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/1.247, allocations: 3.812 kB / 1.405 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006238/1.248, allocations: 0.6495 MB / 1.406 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.248, allocations: 0 / 1.406 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000613/1.248, allocations: 197.4 kB / 1.406 GB, free: 18.21 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.000898/1.249, allocations: 1.153 MB / 1.407 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006385/1.25, allocations: 0.5269 MB / 1.407 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.25, allocations: 0 / 1.407 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/1.25, allocations: 229.2 kB / 1.408 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/1.251, allocations: 154.1 kB / 1.408 GB, free: 17.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/1.253, allocations: 1.405 MB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/1.254, allocations: 1.017 MB / 1.41 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004031/1.254, allocations: 191.4 kB / 1.41 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/1.254, allocations: 204.2 kB / 1.41 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.254, allocations: 3.938 kB / 1.41 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/1.287, allocations: 13.25 MB / 1.423 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/1.288, allocations: 137.1 kB / 1.424 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.373, allocations: 3.5 kB / 1.424 GB, free: 2.227 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat