Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5762/0.5762, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 221.3 MB / 348.3 MB, free: 500 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 99.7 kB / 421.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.864e-05, allocations: 0 / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5462, allocations: 72.31 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.543/5.089, allocations: 1.688 GB / 2.249 GB, free: 91.94 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/5.09, allocations: 87.95 kB / 2.249 GB, free: 91.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6172/5.707, allocations: 99.67 MB / 2.346 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/5.707, allocations: 0 / 2.346 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001074/5.707, allocations: 51.19 kB / 2.346 GB, free: 185.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.003914/5.711, allocations: 1.92 MB / 2.348 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/5.711, allocations: 15.67 kB / 2.348 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003673/5.711, allocations: 278.1 kB / 2.348 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/5.724, allocations: 1.892 MB / 2.35 GB, free: 184.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/5.726, allocations: 1.042 MB / 2.351 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/5.726, allocations: 146.9 kB / 2.351 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/5.726, allocations: 189.2 kB / 2.352 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/5.73, allocations: 2.453 MB / 2.354 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/5.73, allocations: 0 / 2.354 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/5.73, allocations: 84 kB / 2.354 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/5.73, allocations: 48.66 kB / 2.354 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/5.735, allocations: 2.964 MB / 2.357 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/5.748, allocations: 6.737 MB / 2.364 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/5.751, allocations: 2.008 MB / 2.366 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/5.752, allocations: 1.058 MB / 2.367 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/5.753, allocations: 0.499 MB / 2.367 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/5.755, allocations: 1.327 MB / 2.368 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=195): time 3.487e-06/5.755, allocations: 0 / 2.368 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195): time 0.003992/5.759, allocations: 2.114 MB / 2.37 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/5.759, allocations: 255.1 kB / 2.371 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/5.76, allocations: 0.7875 MB / 2.371 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/5.76, allocations: 57.58 kB / 2.371 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/5.761, allocations: 0.6484 MB / 2.372 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/5.761, allocations: 0.6287 MB / 2.373 GB, free: 181 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/5.761, allocations: 36.78 kB / 2.373 GB, free: 181 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/5.761, allocations: 365.3 kB / 2.373 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/5.762, allocations: 0.8053 MB / 2.374 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/5.764, allocations: 0.9875 MB / 2.375 GB, free: 179.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/5.765, allocations: 0.84 MB / 2.376 GB, free: 179.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/5.765, allocations: 0 / 2.376 GB, free: 179.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003924/5.769, allocations: 2.155 MB / 2.378 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/5.769, allocations: 12.72 kB / 2.378 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/5.769, allocations: 1.953 kB / 2.378 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/5.77, allocations: 90.58 kB / 2.378 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/5.773, allocations: 0.5626 MB / 2.378 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/5.775, allocations: 1.52 MB / 2.38 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/5.778, allocations: 348.4 kB / 2.38 GB, free: 177 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/5.778, allocations: 85 kB / 2.38 GB, free: 177 MB / 0.6042 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 (206): * Single equations (assignments): 205 * 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.0004365/5.779, allocations: 196.6 kB / 2.381 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/5.779, allocations: 137.4 kB / 2.381 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/5.785, allocations: 2.774 MB / 2.383 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/5.785, allocations: 20.31 kB / 2.383 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/5.785, allocations: 6.406 kB / 2.383 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/5.785, allocations: 10.5 kB / 2.383 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007282/5.792, allocations: 4.998 MB / 2.388 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/5.792, allocations: 3.703 kB / 2.388 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/5.795, allocations: 0.5498 MB / 2.389 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/5.796, allocations: 90.3 kB / 2.389 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/5.796, allocations: 69.02 kB / 2.389 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/5.798, allocations: 1.541 MB / 2.39 GB, free: 172 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/5.798, allocations: 1.969 kB / 2.39 GB, free: 172 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/5.802, allocations: 2.309 MB / 2.393 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/5.803, allocations: 0.5457 MB / 2.393 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/5.803, allocations: 39.94 kB / 2.393 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/5.806, allocations: 267.3 kB / 2.394 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/5.806, allocations: 130.2 kB / 2.394 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/5.806, allocations: 83.67 kB / 2.394 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008278/5.807, allocations: 0.6652 MB / 2.394 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.022e-06/5.807, allocations: 0 / 2.394 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001739/5.809, allocations: 0.6549 MB / 2.395 GB, free: 170 MB / 0.6042 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 (210): * Single equations (assignments): 207 * 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.005791/5.814, allocations: 3.837 MB / 2.399 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003558/5.818, allocations: 2.213 MB / 2.401 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/5.818, allocations: 0 / 2.401 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/5.82, allocations: 1.285 MB / 2.402 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/5.821, allocations: 289.8 kB / 2.402 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/5.828, allocations: 3.207 MB / 2.406 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/5.829, allocations: 1.368 MB / 2.407 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003335/5.832, allocations: 0.558 MB / 2.408 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/5.834, allocations: 0.76 MB / 2.408 GB, free: 159 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/5.834, allocations: 0 / 2.408 GB, free: 159 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/5.908, allocations: 49.65 MB / 2.457 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/5.908, allocations: 246.3 kB / 2.457 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/9.379, allocations: 0 / 2.457 GB, free: 115.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)