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.001075/0.001075, allocations: 106.2 kB / 16.4 MB, free: 6.492 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.001071/0.001071, allocations: 197.2 kB / 17.34 MB, free: 5.766 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6701/0.6701, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 64.72 kB / 0.5572 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1235, allocations: 76.17 MB / 0.6316 GB, free: 5.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006547/0.1301, allocations: 5.159 MB / 0.6366 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4261/0.5562, allocations: 150.7 MB / 0.7837 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006786/0.5569, allocations: 20.34 kB / 0.7838 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.5574, allocations: 199.4 kB / 0.7839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.5588, allocations: 0.5635 MB / 0.7845 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.5603, allocations: 0.8526 MB / 0.7853 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.5613, allocations: 1.465 MB / 0.7868 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/0.562, allocations: 0.6602 MB / 0.7874 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.5625, allocations: 0.5211 MB / 0.7879 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.563, allocations: 0.5537 MB / 0.7885 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5631, allocations: 128.7 kB / 0.7886 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.5638, allocations: 497.1 kB / 0.789 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.5641, allocations: 325.1 kB / 0.7894 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.5645, allocations: 0.614 MB / 0.79 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.5659, allocations: 1.755 MB / 0.7917 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5659, allocations: 0 / 0.7917 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5659, allocations: 0 / 0.7917 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.5659, allocations: 2.844 kB / 0.7917 GB, free: 12.49 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.002271/0.5682, allocations: 1.509 MB / 0.7931 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5683, allocations: 10.78 kB / 0.7932 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.5684, allocations: 149.4 kB / 0.7933 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.57, allocations: 314.1 kB / 0.7936 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009386/0.5709, allocations: 0.7902 MB / 0.7944 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.571, allocations: 76.42 kB / 0.7944 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.5711, allocations: 91.66 kB / 0.7945 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.5727, allocations: 1.07 MB / 0.7956 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5727, allocations: 7.938 kB / 0.7956 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.5728, allocations: 39.03 kB / 0.7956 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.5728, allocations: 25 kB / 0.7956 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.5747, allocations: 1.262 MB / 0.7969 GB, free: 11.04 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.003769/0.5785, allocations: 2.968 MB / 0.7998 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.5807, allocations: 1.021 MB / 0.8008 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.5813, allocations: 370 kB / 0.8011 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.701e-05/0.5814, allocations: 34.97 kB / 0.8012 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009183/0.5824, allocations: 0.5543 MB / 0.8017 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.124e-06/0.5824, allocations: 0 / 0.8017 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003364/0.5857, allocations: 1.387 MB / 0.8031 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.5858, allocations: 196.6 kB / 0.8032 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.5865, allocations: 0.6371 MB / 0.8039 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.5865, allocations: 46.73 kB / 0.8039 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.5868, allocations: 433.5 kB / 0.8043 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.587, allocations: 269.4 kB / 0.8046 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.5872, allocations: 149.7 kB / 0.8047 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5873, allocations: 388.9 kB / 0.8051 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.5879, allocations: 307.6 kB / 0.8054 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.5886, allocations: 418.2 kB / 0.8058 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.5899, allocations: 0.6837 MB / 0.8065 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5899, allocations: 6.906 kB / 0.8065 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002008/0.592, allocations: 0.9208 MB / 0.8074 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.592, allocations: 4.875 kB / 0.8074 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.592, allocations: 2.219 kB / 0.8074 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/0.5926, allocations: 86.61 kB / 0.8074 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.5933, allocations: 185.4 kB / 0.8076 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.5952, allocations: 1.62 MB / 0.8092 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.596, allocations: 110.9 kB / 0.8093 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.596, allocations: 31.36 kB / 0.8093 GB, free: 5.293 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.000397/0.5964, allocations: 280.8 kB / 0.8096 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.5966, allocations: 84.03 kB / 0.8097 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.5992, allocations: 1.204 MB / 0.8109 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5992, allocations: 10.38 kB / 0.8109 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5992, allocations: 0 / 0.8109 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5992, allocations: 3.984 kB / 0.8109 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.6029, allocations: 2.144 MB / 0.813 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6029, allocations: 0 / 0.813 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.6036, allocations: 178.5 kB / 0.8131 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.6041, allocations: 77.92 kB / 0.8132 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.6042, allocations: 23.8 kB / 0.8132 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.6061, allocations: 1.667 MB / 0.8149 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6061, allocations: 0 / 0.8149 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.6085, allocations: 1.113 MB / 0.816 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.6089, allocations: 278.6 kB / 0.8162 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.6091, allocations: 24.69 kB / 0.8162 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.6099, allocations: 88.98 kB / 0.8163 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.61, allocations: 76.11 kB / 0.8164 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.6101, allocations: 36.89 kB / 0.8164 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006152/0.6107, allocations: 474 kB / 0.8169 GB, free: 388 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6107, allocations: 0 / 0.8169 GB, free: 388 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009669/0.6117, allocations: 336.8 kB / 0.8172 GB, free: 292 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.003615/0.6153, allocations: 2.166 MB / 0.8193 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.6172, allocations: 0.9193 MB / 0.8202 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6172, allocations: 1.781 kB / 0.8202 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6183, allocations: 0.5854 MB / 0.8208 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.6194, allocations: 307.4 kB / 0.8211 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.6297, allocations: 6.726 MB / 0.8277 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.6303, allocations: 1.047 MB / 0.8287 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007985/0.6311, allocations: 286.8 kB / 0.829 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.6316, allocations: 423.3 kB / 0.8294 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.6316, allocations: 3.938 kB / 0.8294 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0454/0.677, allocations: 23.1 MB / 0.8519 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.06, allocations: 7.922 kB / 0.8519 GB, free: 1.277 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)