Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 92.44 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.647e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.728/6.978, allocations: 2.194 GB / 3.086 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/6.978, allocations: 87.11 kB / 3.086 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2137/7.192, allocations: 96.16 MB / 3.18 GB, free: 42.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/7.192, allocations: 0 / 3.18 GB, free: 42.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.253e-05/7.192, allocations: 48 kB / 3.18 GB, free: 42.36 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.003501/7.195, allocations: 1.856 MB / 3.182 GB, free: 40.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/7.195, allocations: 8.031 kB / 3.182 GB, free: 40.44 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002995/7.196, allocations: 262.2 kB / 3.182 GB, free: 40.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/7.209, allocations: 1.804 MB / 3.184 GB, free: 38.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/7.212, allocations: 1.036 MB / 3.185 GB, free: 37.28 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/7.212, allocations: 139.8 kB / 3.185 GB, free: 37.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/7.212, allocations: 184 kB / 3.185 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/7.216, allocations: 2.341 MB / 3.187 GB, free: 34.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/7.216, allocations: 0 / 3.187 GB, free: 34.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/7.217, allocations: 76 kB / 3.188 GB, free: 34.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/7.217, allocations: 48 kB / 3.188 GB, free: 34.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/7.221, allocations: 2.868 MB / 3.19 GB, free: 31.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/7.234, allocations: 6.238 MB / 3.196 GB, free: 25.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/7.237, allocations: 2.007 MB / 3.198 GB, free: 23.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/7.238, allocations: 1.048 MB / 3.199 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/7.239, allocations: 0.5034 MB / 3.2 GB, free: 21.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/7.241, allocations: 1.289 MB / 3.201 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 3.627e-06/7.241, allocations: 0 / 3.201 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.004101/7.245, allocations: 2.074 MB / 3.203 GB, free: 18.21 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/7.245, allocations: 253.3 kB / 3.203 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/7.246, allocations: 0.7512 MB / 3.204 GB, free: 17.15 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/7.246, allocations: 61.7 kB / 3.204 GB, free: 17.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/7.247, allocations: 0.6335 MB / 3.205 GB, free: 16.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/7.247, allocations: 0.6159 MB / 3.205 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/7.248, allocations: 28 kB / 3.206 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/7.248, allocations: 369.9 kB / 3.206 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/7.249, allocations: 0.785 MB / 3.207 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/7.251, allocations: 0.958 MB / 3.208 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/7.252, allocations: 0.8297 MB / 3.208 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/7.252, allocations: 4 kB / 3.208 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004106/7.256, allocations: 2.11 MB / 3.21 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/7.256, allocations: 8.031 kB / 3.21 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/7.256, allocations: 7.984 kB / 3.21 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/7.257, allocations: 88.66 kB / 3.211 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/7.26, allocations: 0.5422 MB / 3.211 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/7.262, allocations: 1.528 MB / 3.213 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/7.265, allocations: 306.5 kB / 3.213 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003352/7.266, allocations: 95.89 kB / 3.213 GB, free: 7.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 202 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004766/7.266, allocations: 191 kB / 3.213 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/7.266, allocations: 142.3 kB / 3.213 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/7.272, allocations: 2.714 MB / 3.216 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/7.272, allocations: 20 kB / 3.216 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/7.272, allocations: 0 / 3.216 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/7.272, allocations: 7.969 kB / 3.216 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5497/7.822, allocations: 4.86 MB / 3.221 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/7.822, allocations: 0.6094 kB / 3.221 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/7.826, allocations: 0.5266 MB / 3.221 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006138/7.827, allocations: 86.94 kB / 3.221 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005467/7.827, allocations: 69.59 kB / 3.221 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/7.829, allocations: 1.535 MB / 3.223 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/7.829, allocations: 5.531 kB / 3.223 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/7.835, allocations: 2.267 MB / 3.225 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/7.836, allocations: 0.5349 MB / 3.226 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/7.836, allocations: 39.52 kB / 3.226 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/7.839, allocations: 245.8 kB / 3.226 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/7.84, allocations: 127.6 kB / 3.226 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/7.84, allocations: 84.84 kB / 3.226 GB, free: 260 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001272/7.841, allocations: 0.6361 MB / 3.227 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/7.841, allocations: 0.875 kB / 3.227 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0027/7.844, allocations: 0.603 MB / 3.227 GB, free: 259.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007866/7.852, allocations: 3.748 MB / 3.231 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00489/7.857, allocations: 2.171 MB / 3.233 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/7.857, allocations: 1.531 kB / 3.233 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/7.859, allocations: 1.259 MB / 3.234 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/7.861, allocations: 279.3 kB / 3.235 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/7.87, allocations: 3.096 MB / 3.238 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/7.871, allocations: 1.353 MB / 3.239 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003913/7.875, allocations: 0.5448 MB / 3.239 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/7.877, allocations: 0.7538 MB / 3.24 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.784e-06/7.877, allocations: 0 / 3.24 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09681/7.974, allocations: 48.35 MB / 3.287 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/7.974, allocations: 253.6 kB / 3.288 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/11.36, allocations: 0 / 3.288 GB, free: 254.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)