Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.184/2.184, allocations: 387.1 MB / 399.7 MB, free: 9.41 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.001009/0.001008, allocations: 179.5 kB / 492.3 MB, free: 0.6055 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.3 MB / 0.7871 GB, free: 12.95 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.0008323/0.0008327, allocations: 101.4 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.223e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.242, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9061/1.148, allocations: 150.3 MB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/1.148, allocations: 81.98 kB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008287/1.157, allocations: 2.795 MB / 1.362 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.445e-06/1.157, allocations: 3.844 kB / 1.362 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.157, allocations: 0 / 1.362 GB, free: 34.55 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003781/1.157, allocations: 375.9 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.157, allocations: 11.78 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/1.157, allocations: 35.09 kB / 1.363 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/1.157, allocations: 18.31 kB / 1.363 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/1.157, allocations: 205.8 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.158, allocations: 3.25 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/1.158, allocations: 10.62 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/1.158, allocations: 70.33 kB / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.158, allocations: 0 / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.158, allocations: 3.375 kB / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/1.158, allocations: 0 / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/1.158, allocations: 38.98 kB / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/1.158, allocations: 482.9 kB / 1.363 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/1.159, allocations: 149 kB / 1.363 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/1.159, allocations: 25.08 kB / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/1.159, allocations: 0 / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/1.159, allocations: 41.23 kB / 1.364 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.159, allocations: 7.969 kB / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002611/1.159, allocations: 84 kB / 1.364 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/1.159, allocations: 55.34 kB / 1.364 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.159, allocations: 148.9 kB / 1.364 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/1.159, allocations: 29.2 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/1.159, allocations: 105.3 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/1.159, allocations: 16.73 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.159, allocations: 0 / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/1.159, allocations: 321.6 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/1.159, allocations: 15.06 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/1.159, allocations: 33.08 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/1.159, allocations: 12.77 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.159, allocations: 0 / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001714/1.16, allocations: 102 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.16, allocations: 3.812 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.16, allocations: 4.031 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/1.16, allocations: 24.67 kB / 1.364 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/1.16, allocations: 3.812 kB / 1.364 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008542/1.161, allocations: 1.309 MB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.161, allocations: 7.719 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/1.161, allocations: 192 / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 5.824e-05/1.161, allocations: 114.6 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.161, allocations: 7.844 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/1.161, allocations: 20.67 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/1.161, allocations: 0 / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/1.161, allocations: 0 / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.161, allocations: 0 / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/1.161, allocations: 362.4 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.161, allocations: 0 / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/1.161, allocations: 5.438 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.878e-05/1.161, allocations: 23.8 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/1.161, allocations: 0 / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/1.162, allocations: 1.302 MB / 1.367 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.162, allocations: 9.953 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/1.162, allocations: 178.2 kB / 1.368 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/1.162, allocations: 84.27 kB / 1.368 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.162, allocations: 9.094 kB / 1.368 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/1.163, allocations: 7.891 kB / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/1.163, allocations: 10 kB / 1.368 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.163, allocations: 3.812 kB / 1.368 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.949e-05/1.163, allocations: 118.7 kB / 1.368 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.163, allocations: 0 / 1.368 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002271/1.163, allocations: 30.31 kB / 1.368 GB, free: 29.22 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.000423/1.163, allocations: 0.7152 MB / 1.369 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002958/1.164, allocations: 158.1 kB / 1.369 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.164, allocations: 0 / 1.369 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/1.164, allocations: 133.2 kB / 1.369 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.164, allocations: 32.62 kB / 1.369 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/1.164, allocations: 145.2 kB / 1.369 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.165, allocations: 0.6963 MB / 1.37 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.699e-05/1.165, allocations: 14.22 kB / 1.37 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/1.165, allocations: 28.72 kB / 1.37 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.165, allocations: 0 / 1.37 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/1.184, allocations: 2.776 MB / 1.373 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.184, allocations: 185.9 kB / 1.373 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.788, allocations: 0 / 1.373 GB, free: 26.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat does not exist to compare? outputFormat=mat