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.239/2.239, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001031/0.001031, allocations: 179.4 kB / 498.1 MB, free: 5.738 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.411/1.411, allocations: 223.2 MB / 0.7948 GB, free: 18.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.000873/0.0008728, allocations: 98.72 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.000382, allocations: 9.094 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.4494, allocations: 150.4 MB / 1.37 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4498, allocations: 79.94 kB / 1.37 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008626/0.4584, allocations: 2.817 MB / 1.373 GB, free: 24 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4585, allocations: 0 / 1.373 GB, free: 24 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.4585, allocations: 4 kB / 1.373 GB, free: 20 kB / 0.8698 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.0005901/0.4591, allocations: 398.8 kB / 1.373 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.4592, allocations: 12.03 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.4592, allocations: 34.56 kB / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.4593, allocations: 11.91 kB / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.4595, allocations: 210.8 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4596, allocations: 8 kB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.4596, allocations: 4 kB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4598, allocations: 73.67 kB / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4598, allocations: 0 / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4598, allocations: 0 / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4598, allocations: 0 / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.4599, allocations: 39.92 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.4606, allocations: 479.3 kB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.4609, allocations: 151.7 kB / 1.374 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.461, allocations: 3.953 kB / 1.374 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.461, allocations: 38.59 kB / 1.374 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.461, allocations: 0 / 1.374 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0005667/0.4616, allocations: 191.5 kB / 1.374 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4616, allocations: 51.41 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4618, allocations: 151.2 kB / 1.374 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4618, allocations: 29.7 kB / 1.374 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.4619, allocations: 116.1 kB / 1.375 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.4619, allocations: 3.906 kB / 1.375 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4619, allocations: 4 kB / 1.375 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.462, allocations: 322.8 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.462, allocations: 8 kB / 1.375 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.4621, allocations: 38.56 kB / 1.375 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.4621, allocations: 20.03 kB / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4622, allocations: 0 / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002134/0.4624, allocations: 102.3 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4624, allocations: 4.938 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4624, allocations: 3.938 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.4626, allocations: 28.78 kB / 1.375 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.4627, allocations: 7.984 kB / 1.375 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.4638, allocations: 1.312 MB / 1.376 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4639, allocations: 8.281 kB / 1.376 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4639, allocations: 7.984 kB / 1.376 GB, free: 11.76 MB / 0.8855 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 () * Number of clocked 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 9.73e-05/0.464, allocations: 121.8 kB / 1.376 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.4641, allocations: 11.81 kB / 1.376 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.4641, allocations: 8.25 kB / 1.376 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4641, allocations: 4 kB / 1.376 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4641, allocations: 0 / 1.376 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4641, allocations: 0 / 1.376 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.4646, allocations: 367.3 kB / 1.377 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4647, allocations: 0 / 1.377 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.4647, allocations: 4 kB / 1.377 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.95e-05/0.4648, allocations: 20.84 kB / 1.377 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4648, allocations: 0 / 1.377 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.4658, allocations: 1.307 MB / 1.378 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4658, allocations: 3.953 kB / 1.378 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.4661, allocations: 188.4 kB / 1.378 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4662, allocations: 89.03 kB / 1.378 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4662, allocations: 4 kB / 1.378 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.4663, allocations: 7.938 kB / 1.378 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.4663, allocations: 0 / 1.378 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.4663, allocations: 8 kB / 1.378 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000101/0.4664, allocations: 124.9 kB / 1.379 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4664, allocations: 0 / 1.379 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002641/0.4667, allocations: 24 kB / 1.379 GB, free: 9.242 MB / 0.8855 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 () * Number of clocked 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.0005189/0.4672, allocations: 0.7207 MB / 1.379 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.4676, allocations: 154.7 kB / 1.379 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4676, allocations: 4 kB / 1.379 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4678, allocations: 134.6 kB / 1.38 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4681, allocations: 31.92 kB / 1.38 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.4693, allocations: 0.6576 MB / 1.38 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4696, allocations: 0.7009 MB / 1.381 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.682e-05/0.4696, allocations: 4.891 kB / 1.381 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.4697, allocations: 31.42 kB / 1.381 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.4697, allocations: 0 / 1.381 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.4857, allocations: 2.795 MB / 1.384 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.4859, allocations: 201.8 kB / 1.384 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.056, allocations: 0 / 1.384 GB, free: 3.812 MB / 0.8855 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