Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.162/2.162, allocations: 390.5 MB / 398 MB, free: 10.95 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.0009617/0.0009616, allocations: 179.6 kB / 491.2 MB, free: 1.574 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.333/1.333, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008132/0.0008132, allocations: 83.97 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.58e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7333/0.9404, allocations: 162 MB / 1.371 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.9406, allocations: 79.73 kB / 1.371 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08185/1.022, allocations: 27.84 MB / 1.398 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.883e-06/1.022, allocations: 0 / 1.398 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.315e-05/1.023, allocations: 15.47 kB / 1.398 GB, free: 25.38 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.000984/1.024, allocations: 0.8336 MB / 1.399 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/1.024, allocations: 7.688 kB / 1.399 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/1.024, allocations: 81.31 kB / 1.399 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/1.026, allocations: 1.227 MB / 1.4 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.026, allocations: 8.516 kB / 1.4 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/1.026, allocations: 30.5 kB / 1.4 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/1.026, allocations: 198.3 kB / 1.4 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/1.026, allocations: 329.1 kB / 1.401 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.026, allocations: 0 / 1.401 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/1.026, allocations: 0 / 1.401 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.026, allocations: 7.594 kB / 1.401 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/1.029, allocations: 2.025 MB / 1.403 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/1.029, allocations: 376.3 kB / 1.403 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/1.03, allocations: 128.9 kB / 1.403 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/1.03, allocations: 0 / 1.403 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/1.03, allocations: 30.56 kB / 1.403 GB, free: 22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/1.03, allocations: 4 kB / 1.403 GB, free: 21.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0004875/1.03, allocations: 327.7 kB / 1.403 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/1.03, allocations: 59.41 kB / 1.403 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/1.031, allocations: 0.8615 MB / 1.404 GB, free: 21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.031, allocations: 25.7 kB / 1.404 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/1.031, allocations: 291.1 kB / 1.405 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/1.031, allocations: 73.25 kB / 1.405 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/1.031, allocations: 0 / 1.405 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.031, allocations: 375.6 kB / 1.405 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/1.032, allocations: 213.4 kB / 1.405 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/1.032, allocations: 482.6 kB / 1.406 GB, free: 19.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/1.032, allocations: 281.1 kB / 1.406 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.032, allocations: 8 kB / 1.406 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008017/1.033, allocations: 0.715 MB / 1.407 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.033, allocations: 12.09 kB / 1.407 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.033, allocations: 16 kB / 1.407 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/1.033, allocations: 52.08 kB / 1.407 GB, free: 18.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/1.034, allocations: 131.1 kB / 1.407 GB, free: 18.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008883/1.035, allocations: 1.427 MB / 1.408 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008834/1.035, allocations: 187.2 kB / 1.408 GB, free: 17.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/1.036, allocations: 27.5 kB / 1.408 GB, free: 17.01 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 9.108e-05/1.036, allocations: 128.3 kB / 1.409 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003709/1.036, allocations: 322.6 kB / 1.409 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/1.036, allocations: 63.23 kB / 1.409 GB, free: 16.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.036, allocations: 59.72 kB / 1.409 GB, free: 16.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.036, allocations: 3.984 kB / 1.409 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.036, allocations: 4 kB / 1.409 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.036, allocations: 0 / 1.409 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/1.037, allocations: 0.6244 MB / 1.41 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.037, allocations: 4 kB / 1.41 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/1.037, allocations: 47.95 kB / 1.41 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/1.037, allocations: 40.2 kB / 1.41 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.037, allocations: 11.92 kB / 1.41 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008307/1.038, allocations: 1.403 MB / 1.411 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.038, allocations: 4.031 kB / 1.411 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/1.038, allocations: 0.533 MB / 1.412 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/1.039, allocations: 356.8 kB / 1.412 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/1.039, allocations: 7.938 kB / 1.412 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/1.039, allocations: 79.84 kB / 1.412 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/1.04, allocations: 15.48 kB / 1.412 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.04, allocations: 0 / 1.412 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007602/1.04, allocations: 0.6478 MB / 1.413 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.04, allocations: 8 kB / 1.413 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006931/1.041, allocations: 187.8 kB / 1.413 GB, free: 12.91 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.001069/1.042, allocations: 1.154 MB / 1.414 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007844/1.043, allocations: 0.5283 MB / 1.414 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.043, allocations: 0 / 1.414 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/1.043, allocations: 227.3 kB / 1.415 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/1.044, allocations: 145.4 kB / 1.415 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/1.046, allocations: 1.412 MB / 1.416 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/1.047, allocations: 1.025 MB / 1.417 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003898/1.047, allocations: 184.4 kB / 1.417 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.047, allocations: 205.5 kB / 1.418 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.047, allocations: 0 / 1.418 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/1.078, allocations: 13.24 MB / 1.431 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.078, allocations: 143.9 kB / 1.431 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.133, allocations: 0 / 1.431 GB, free: 11.24 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat