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.216/2.216, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001094/0.001094, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.499/1.499, 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.0009359/0.0009357, allocations: 95.83 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.819e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7625/0.9889, allocations: 161.2 MB / 1.363 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.9892, allocations: 73.45 kB / 1.364 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08257/1.072, allocations: 27.82 MB / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.072, allocations: 0 / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.495e-05/1.072, allocations: 19.56 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.001007/1.073, allocations: 0.832 MB / 1.392 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/1.073, allocations: 11.53 kB / 1.392 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/1.073, allocations: 81.59 kB / 1.392 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/1.075, allocations: 1.218 MB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.075, allocations: 7.594 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/1.075, allocations: 35.03 kB / 1.393 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002692/1.075, allocations: 197.9 kB / 1.393 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/1.076, allocations: 322.2 kB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.076, allocations: 3.781 kB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/1.076, allocations: 0 / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.076, allocations: 3.719 kB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/1.078, allocations: 2.018 MB / 1.395 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/1.079, allocations: 385.2 kB / 1.396 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/1.079, allocations: 125.7 kB / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/1.079, allocations: 3.875 kB / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/1.079, allocations: 38.31 kB / 1.396 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/1.079, allocations: 0 / 1.396 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.000451/1.079, allocations: 321.9 kB / 1.396 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/1.079, allocations: 55.25 kB / 1.396 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/1.08, allocations: 0.8591 MB / 1.397 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.08, allocations: 25.7 kB / 1.397 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.08, allocations: 295.7 kB / 1.397 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/1.08, allocations: 70.27 kB / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/1.08, allocations: 0 / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.08, allocations: 380.1 kB / 1.398 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/1.081, allocations: 218.6 kB / 1.398 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/1.081, allocations: 478.3 kB / 1.398 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/1.081, allocations: 293.2 kB / 1.399 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.081, allocations: 0 / 1.399 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008259/1.082, allocations: 0.7188 MB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.082, allocations: 7.688 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.082, allocations: 11.47 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/1.082, allocations: 53.64 kB / 1.399 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.083, allocations: 143.5 kB / 1.4 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009785/1.084, allocations: 1.413 MB / 1.401 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/1.085, allocations: 195.2 kB / 1.401 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/1.085, allocations: 26.41 kB / 1.401 GB, free: 20.97 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.895e-05/1.085, allocations: 127.6 kB / 1.401 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003598/1.085, allocations: 321.1 kB / 1.402 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/1.085, allocations: 58.22 kB / 1.402 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/1.085, allocations: 67.2 kB / 1.402 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.085, allocations: 3.938 kB / 1.402 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/1.085, allocations: 0 / 1.402 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.085, allocations: 0 / 1.402 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/1.086, allocations: 0.6263 MB / 1.402 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.086, allocations: 3.844 kB / 1.402 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/1.086, allocations: 46.7 kB / 1.402 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/1.086, allocations: 45.64 kB / 1.402 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/1.086, allocations: 7.891 kB / 1.402 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009773/1.087, allocations: 1.411 MB / 1.404 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.087, allocations: 0 / 1.404 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/1.088, allocations: 0.5304 MB / 1.404 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/1.088, allocations: 350.8 kB / 1.405 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/1.088, allocations: 7.828 kB / 1.405 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/1.089, allocations: 86.34 kB / 1.405 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/1.089, allocations: 11.45 kB / 1.405 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.089, allocations: 3.844 kB / 1.405 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007522/1.09, allocations: 0.6429 MB / 1.405 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.09, allocations: 0 / 1.405 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007346/1.091, allocations: 201 kB / 1.406 GB, free: 18.2 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.001016/1.092, allocations: 1.152 MB / 1.407 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007281/1.092, allocations: 0.5243 MB / 1.407 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.092, allocations: 3.844 kB / 1.407 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/1.093, allocations: 231.3 kB / 1.407 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.000726/1.093, allocations: 153.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.002097/1.095, allocations: 1.397 MB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/1.096, allocations: 1.029 MB / 1.41 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003611/1.096, allocations: 180.5 kB / 1.41 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/1.097, allocations: 199.6 kB / 1.41 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of SimCode: time 5e-07/1.097, allocations: 0 / 1.41 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/1.131, allocations: 13.25 MB / 1.423 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.131, allocations: 140.6 kB / 1.423 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/3.297, allocations: 3.938 kB / 1.423 GB, free: 2.094 MB / 0.8386 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