Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.258/2.258, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001128/0.001129, allocations: 168.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 0.7915 GB, free: 5.336 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.0008722/0.0008718, allocations: 95.52 kB / 0.9317 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.691e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8008/1.043, allocations: 162.7 MB / 1.378 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.044, allocations: 81.08 kB / 1.378 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.09298/1.137, allocations: 28.5 MB / 1.406 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.32e-07/1.137, allocations: 3.938 kB / 1.406 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.151e-05/1.137, allocations: 12 kB / 1.406 GB, free: 14.7 MB / 0.8698 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.001572/1.138, allocations: 0.8257 MB / 1.406 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.138, allocations: 8.031 kB / 1.406 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.787e-05/1.138, allocations: 66.91 kB / 1.407 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/1.139, allocations: 75.06 kB / 1.407 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/1.141, allocations: 1.231 MB / 1.408 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/1.141, allocations: 30.27 kB / 1.408 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/1.142, allocations: 41.81 kB / 1.408 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/1.142, allocations: 356.6 kB / 1.408 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.142, allocations: 4 kB / 1.408 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/1.142, allocations: 17.55 kB / 1.408 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.142, allocations: 4 kB / 1.408 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/1.143, allocations: 218.3 kB / 1.408 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/1.146, allocations: 2.083 MB / 1.41 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/1.147, allocations: 392.3 kB / 1.411 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/1.147, allocations: 126.5 kB / 1.411 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.147, allocations: 7.891 kB / 1.411 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.147, allocations: 37.75 kB / 1.411 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 1.963e-06/1.147, allocations: 0 / 1.411 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0006165/1.148, allocations: 330.5 kB / 1.411 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.148, allocations: 55.41 kB / 1.411 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.149, allocations: 0.9082 MB / 1.412 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/1.149, allocations: 32.33 kB / 1.412 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/1.149, allocations: 299.9 kB / 1.413 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/1.149, allocations: 73.12 kB / 1.413 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/1.149, allocations: 6.562 kB / 1.413 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.149, allocations: 381.1 kB / 1.413 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.15, allocations: 222.4 kB / 1.413 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/1.15, allocations: 495.2 kB / 1.414 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/1.15, allocations: 302 kB / 1.414 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.15, allocations: 4 kB / 1.414 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001111/1.152, allocations: 0.7932 MB / 1.415 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.152, allocations: 8 kB / 1.415 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.152, allocations: 8 kB / 1.415 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/1.152, allocations: 56.48 kB / 1.415 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/1.152, allocations: 135.6 kB / 1.415 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/1.153, allocations: 1.446 MB / 1.416 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.154, allocations: 198.4 kB / 1.417 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/1.154, allocations: 23.5 kB / 1.417 GB, free: 4.762 MB / 0.8698 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.0001124/1.155, allocations: 147.2 kB / 1.417 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.155, allocations: 63.16 kB / 1.417 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/1.155, allocations: 66.41 kB / 1.417 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.155, allocations: 8.062 kB / 1.417 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.155, allocations: 0 / 1.417 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.155, allocations: 0 / 1.417 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/1.156, allocations: 0.6739 MB / 1.418 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.156, allocations: 0 / 1.418 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/1.156, allocations: 43.97 kB / 1.418 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/1.156, allocations: 43.62 kB / 1.418 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/1.156, allocations: 11.62 kB / 1.418 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/1.157, allocations: 1.412 MB / 1.419 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.157, allocations: 4.156 kB / 1.419 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/1.158, allocations: 0.5544 MB / 1.42 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/1.158, allocations: 352.4 kB / 1.42 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/1.158, allocations: 6.75 kB / 1.42 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/1.159, allocations: 87.78 kB / 1.42 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/1.159, allocations: 11.98 kB / 1.42 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.159, allocations: 4 kB / 1.42 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008895/1.16, allocations: 0.6906 MB / 1.421 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.16, allocations: 0 / 1.421 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000713/1.161, allocations: 198.2 kB / 1.421 GB, free: 0.7812 MB / 0.8698 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.001107/1.162, allocations: 1.176 MB / 1.422 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008753/1.163, allocations: 0.5551 MB / 1.423 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.163, allocations: 0.6875 kB / 1.423 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/1.163, allocations: 242 kB / 1.423 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/1.164, allocations: 159.4 kB / 1.423 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/1.166, allocations: 1.443 MB / 1.424 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/1.167, allocations: 1.017 MB / 1.425 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004971/1.167, allocations: 180.5 kB / 1.425 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/1.168, allocations: 214.4 kB / 1.426 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/1.168, allocations: 0 / 1.426 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/1.202, allocations: 15.96 MB / 1.441 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.202, allocations: 179.9 kB / 1.441 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/3.296, allocations: 0 / 1.441 GB, free: 12.43 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat