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.149/2.149, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001255/0.001255, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.457/1.457, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001066/0.001066, allocations: 93.78 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.756e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8629/1.113, allocations: 161.9 MB / 1.371 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.113, allocations: 75.2 kB / 1.371 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08703/1.2, allocations: 28.49 MB / 1.398 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.264e-06/1.2, allocations: 0 / 1.398 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001715/1.201, allocations: 19.36 kB / 1.398 GB, free: 26.28 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.0021/1.203, allocations: 0.833 MB / 1.399 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.203, allocations: 8.031 kB / 1.399 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/1.203, allocations: 64.3 kB / 1.399 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004551/1.203, allocations: 75.06 kB / 1.399 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/1.206, allocations: 1.227 MB / 1.401 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.206, allocations: 31.19 kB / 1.401 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/1.206, allocations: 46.83 kB / 1.401 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/1.207, allocations: 356.3 kB / 1.401 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.207, allocations: 0 / 1.401 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/1.207, allocations: 10.44 kB / 1.401 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.207, allocations: 4 kB / 1.401 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/1.207, allocations: 223.4 kB / 1.401 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/1.21, allocations: 2.084 MB / 1.403 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/1.211, allocations: 392.9 kB / 1.404 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/1.211, allocations: 129.8 kB / 1.404 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/1.211, allocations: 0 / 1.404 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/1.211, allocations: 42.5 kB / 1.404 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/1.211, allocations: 0 / 1.404 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.000628/1.211, allocations: 327.8 kB / 1.404 GB, free: 21.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/1.211, allocations: 59.41 kB / 1.404 GB, free: 21.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.213, allocations: 0.9025 MB / 1.405 GB, free: 20.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/1.213, allocations: 34.77 kB / 1.405 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/1.213, allocations: 297.7 kB / 1.405 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/1.213, allocations: 73.06 kB / 1.405 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/1.213, allocations: 13.19 kB / 1.406 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.213, allocations: 381.6 kB / 1.406 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/1.213, allocations: 219 kB / 1.406 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/1.214, allocations: 497.1 kB / 1.407 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/1.214, allocations: 303.2 kB / 1.407 GB, free: 18.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.214, allocations: 4 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009697/1.215, allocations: 0.7826 MB / 1.408 GB, free: 18.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.215, allocations: 8 kB / 1.408 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.215, allocations: 11.94 kB / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/1.215, allocations: 60.05 kB / 1.408 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/1.216, allocations: 135.1 kB / 1.408 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009442/1.217, allocations: 1.435 MB / 1.409 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/1.218, allocations: 198.2 kB / 1.409 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/1.218, allocations: 23.38 kB / 1.409 GB, free: 16.39 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.0001123/1.218, allocations: 144 kB / 1.41 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.218, allocations: 71.19 kB / 1.41 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/1.218, allocations: 65.72 kB / 1.41 GB, free: 16.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.218, allocations: 7.984 kB / 1.41 GB, free: 16.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.218, allocations: 0 / 1.41 GB, free: 16.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.218, allocations: 3.984 kB / 1.41 GB, free: 16.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/1.219, allocations: 0.6671 MB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.219, allocations: 7.938 kB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/1.219, allocations: 51.83 kB / 1.41 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/1.219, allocations: 43.14 kB / 1.41 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/1.219, allocations: 10.48 kB / 1.41 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/1.22, allocations: 1.419 MB / 1.412 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.22, allocations: 0 / 1.412 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/1.221, allocations: 0.5509 MB / 1.412 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/1.222, allocations: 348 kB / 1.413 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/1.222, allocations: 7.938 kB / 1.413 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/1.222, allocations: 94.16 kB / 1.413 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/1.222, allocations: 15.28 kB / 1.413 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.222, allocations: 4 kB / 1.413 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009159/1.223, allocations: 0.6831 MB / 1.414 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.223, allocations: 0 / 1.414 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007531/1.224, allocations: 205.8 kB / 1.414 GB, free: 12.4 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.00122/1.225, allocations: 1.172 MB / 1.415 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009183/1.226, allocations: 0.5542 MB / 1.415 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.226, allocations: 4.375 kB / 1.415 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/1.227, allocations: 239 kB / 1.416 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/1.227, allocations: 163 kB / 1.416 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/1.23, allocations: 1.442 MB / 1.417 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/1.23, allocations: 1.016 MB / 1.418 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004384/1.231, allocations: 188.5 kB / 1.418 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.231, allocations: 206.6 kB / 1.419 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.231, allocations: 0 / 1.419 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/1.265, allocations: 15.95 MB / 1.434 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/1.265, allocations: 178.7 kB / 1.434 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.444, allocations: 0 / 1.434 GB, free: 8.047 MB / 0.8542 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