Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 107.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 199.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7551/0.7551, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.42 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1688, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007818/0.1767, allocations: 5.149 MB / 0.6366 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5851/0.7618, allocations: 150.7 MB / 0.7837 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.7632, allocations: 19.56 kB / 0.7837 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.764, allocations: 205.1 kB / 0.7839 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.7668, allocations: 0.5668 MB / 0.7845 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.7696, allocations: 0.852 MB / 0.7853 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.7719, allocations: 1.464 MB / 0.7868 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.7731, allocations: 0.6564 MB / 0.7874 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.7742, allocations: 0.5262 MB / 0.7879 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009019/0.7751, allocations: 0.5522 MB / 0.7885 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.7754, allocations: 127.4 kB / 0.7886 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.7766, allocations: 498.8 kB / 0.7891 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.777, allocations: 324.2 kB / 0.7894 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006577/0.7776, allocations: 0.6125 MB / 0.79 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.7805, allocations: 1.757 MB / 0.7917 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.7805, allocations: 0 / 0.7917 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.675e-06/0.7805, allocations: 0 / 0.7917 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.39e-05/0.7806, allocations: 0 / 0.7917 GB, free: 12.84 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003553/0.7841, allocations: 1.513 MB / 0.7932 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7842, allocations: 10.47 kB / 0.7932 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.7844, allocations: 156.8 kB / 0.7933 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.7862, allocations: 306.4 kB / 0.7936 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.7876, allocations: 0.7878 MB / 0.7944 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.7877, allocations: 74.75 kB / 0.7944 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.7878, allocations: 95.94 kB / 0.7945 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.7903, allocations: 1.064 MB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.7903, allocations: 5.938 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.7904, allocations: 45.5 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.7905, allocations: 24.09 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.7926, allocations: 1.264 MB / 0.7969 GB, free: 11.39 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.7977, allocations: 2.964 MB / 0.7998 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.8002, allocations: 1.023 MB / 0.8008 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.801, allocations: 369.8 kB / 0.8011 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.8011, allocations: 31.62 kB / 0.8012 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.8022, allocations: 0.5578 MB / 0.8017 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.8022, allocations: 0 / 0.8017 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.004095/0.8063, allocations: 1.384 MB / 0.8031 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.8065, allocations: 192.5 kB / 0.8032 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000904/0.8074, allocations: 0.639 MB / 0.8039 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.596e-05/0.8075, allocations: 40.36 kB / 0.8039 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.8079, allocations: 430.2 kB / 0.8043 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.8081, allocations: 269.3 kB / 0.8046 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.8084, allocations: 155.2 kB / 0.8047 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.8085, allocations: 386.7 kB / 0.8051 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.8093, allocations: 304.5 kB / 0.8054 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.8101, allocations: 421.5 kB / 0.8058 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.8116, allocations: 0.6909 MB / 0.8065 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8116, allocations: 0 / 0.8065 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002416/0.814, allocations: 0.9273 MB / 0.8074 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8141, allocations: 5.281 kB / 0.8074 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.8141, allocations: 0 / 0.8074 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.8147, allocations: 85.23 kB / 0.8074 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/0.8155, allocations: 179.8 kB / 0.8076 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.8176, allocations: 1.63 MB / 0.8092 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009944/0.8186, allocations: 111.4 kB / 0.8093 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.8186, allocations: 27.67 kB / 0.8093 GB, free: 5.656 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005072/0.8192, allocations: 275 kB / 0.8096 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.8194, allocations: 85.59 kB / 0.8097 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.8223, allocations: 1.215 MB / 0.8109 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.8223, allocations: 10.31 kB / 0.8109 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8223, allocations: 0 / 0.8109 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.8223, allocations: 3.984 kB / 0.8109 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.8266, allocations: 2.138 MB / 0.813 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.8266, allocations: 0 / 0.813 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.8273, allocations: 184.8 kB / 0.8131 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.8278, allocations: 74.66 kB / 0.8132 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/0.8279, allocations: 23.45 kB / 0.8132 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.8299, allocations: 1.661 MB / 0.8149 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8299, allocations: 0 / 0.8149 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.8328, allocations: 1.119 MB / 0.816 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.8335, allocations: 278.2 kB / 0.8162 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.8337, allocations: 20.78 kB / 0.8162 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009687/0.8347, allocations: 89.31 kB / 0.8163 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.8349, allocations: 77.33 kB / 0.8164 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/0.835, allocations: 37.45 kB / 0.8164 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007953/0.8358, allocations: 473.7 kB / 0.8169 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8358, allocations: 0 / 0.8169 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00133/0.8371, allocations: 336.6 kB / 0.8172 GB, free: 452 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004971/0.8421, allocations: 2.186 MB / 0.8193 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.8446, allocations: 0.9113 MB / 0.8202 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.8446, allocations: 1.781 kB / 0.8202 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.846, allocations: 0.5855 MB / 0.8208 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.8479, allocations: 302.5 kB / 0.8211 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.8619, allocations: 6.726 MB / 0.8277 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.863, allocations: 1.047 MB / 0.8287 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001168/0.8642, allocations: 282.9 kB / 0.829 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007704/0.8649, allocations: 419.3 kB / 0.8294 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/0.865, allocations: 0 / 0.8294 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06105/0.926, allocations: 23.1 MB / 0.8519 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.32, allocations: 11.8 kB / 0.8519 GB, free: 1.398 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)