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.001301/0.001301, allocations: 103.4 kB / 15.98 MB, free: 6.348 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.001386/0.001386, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.202/1.202, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6512/0.6512, allocations: 115.3 MB / 406.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 76.16 MB / 0.556 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006073/0.3434, allocations: 5.15 MB / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.157/0.5005, allocations: 148.4 MB / 0.706 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.5019, allocations: 15.94 kB / 0.706 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5031, allocations: 162.8 kB / 0.7062 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.5058, allocations: 0.4921 MB / 0.7067 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.5088, allocations: 0.7603 MB / 0.7074 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.5111, allocations: 1.46 MB / 0.7088 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.5125, allocations: 0.6576 MB / 0.7095 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009338/0.5134, allocations: 0.5216 MB / 0.71 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009058/0.5144, allocations: 0.5645 MB / 0.7105 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.5147, allocations: 128 kB / 0.7107 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5159, allocations: 475.7 kB / 0.7111 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.5163, allocations: 330.8 kB / 0.7114 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.5171, allocations: 0.6064 MB / 0.712 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.5197, allocations: 1.714 MB / 0.7137 GB, free: 2.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5197, allocations: 0 / 0.7137 GB, free: 2.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5197, allocations: 0 / 0.7137 GB, free: 2.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.641e-05/0.5197, allocations: 4 kB / 0.7137 GB, free: 2.637 MB / 0.545 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.003283/0.523, allocations: 1.516 MB / 0.7152 GB, free: 1.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5231, allocations: 16.03 kB / 0.7152 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.5233, allocations: 152.2 kB / 0.7153 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.5252, allocations: 303.2 kB / 0.7156 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.5264, allocations: 0.7653 MB / 0.7164 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.5265, allocations: 70 kB / 0.7164 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5266, allocations: 95.98 kB / 0.7165 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.5288, allocations: 1.074 MB / 0.7176 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5289, allocations: 0 / 0.7176 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.529, allocations: 40 kB / 0.7176 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.529, allocations: 24 kB / 0.7176 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.5315, allocations: 1.276 MB / 0.7189 GB, free: 13.18 MB / 0.5606 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.0052/0.5367, allocations: 2.97 MB / 0.7218 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.5395, allocations: 1.032 MB / 0.7228 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000831/0.5404, allocations: 361 kB / 0.7231 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.548e-05/0.5405, allocations: 34.48 kB / 0.7232 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.5417, allocations: 0.5665 MB / 0.7237 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.5417, allocations: 0 / 0.7237 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.004215/0.546, allocations: 1.376 MB / 0.7251 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5461, allocations: 200.8 kB / 0.7253 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.5471, allocations: 0.6333 MB / 0.7259 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.5472, allocations: 41.7 kB / 0.7259 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.5476, allocations: 436.2 kB / 0.7263 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.5478, allocations: 268.1 kB / 0.7266 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.5481, allocations: 158.5 kB / 0.7267 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5483, allocations: 390.8 kB / 0.7271 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007741/0.5491, allocations: 301.8 kB / 0.7274 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.5499, allocations: 418.5 kB / 0.7278 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.5516, allocations: 0.6866 MB / 0.7285 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.5516, allocations: 7.938 kB / 0.7285 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002535/0.5541, allocations: 0.9189 MB / 0.7294 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5542, allocations: 8 kB / 0.7294 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5542, allocations: 0 / 0.7294 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.5549, allocations: 84.86 kB / 0.7295 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.5557, allocations: 175.8 kB / 0.7296 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.558, allocations: 1.642 MB / 0.7312 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/0.559, allocations: 111.2 kB / 0.7313 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.5591, allocations: 31.98 kB / 0.7314 GB, free: 15.91 MB / 0.5762 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.0005761/0.5597, allocations: 270.3 kB / 0.7316 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.5599, allocations: 86.97 kB / 0.7317 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.5632, allocations: 1.214 MB / 0.7329 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5632, allocations: 8 kB / 0.7329 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5633, allocations: 4 kB / 0.7329 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5633, allocations: 3.984 kB / 0.7329 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.5676, allocations: 2.137 MB / 0.735 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.5676, allocations: 0 / 0.735 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.5684, allocations: 175.8 kB / 0.7352 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.5689, allocations: 72.78 kB / 0.7352 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.5691, allocations: 27.98 kB / 0.7353 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.5711, allocations: 1.67 MB / 0.7369 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5711, allocations: 0 / 0.7369 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.574, allocations: 1.113 MB / 0.738 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.5746, allocations: 283.7 kB / 0.7383 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5748, allocations: 20 kB / 0.7383 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5759, allocations: 99.69 kB / 0.7384 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5761, allocations: 76.83 kB / 0.7384 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/0.5762, allocations: 35.97 kB / 0.7385 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007199/0.5769, allocations: 471 kB / 0.7389 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5769, allocations: 0 / 0.7389 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001116/0.578, allocations: 339.2 kB / 0.7393 GB, free: 7.582 MB / 0.5762 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.004479/0.5825, allocations: 2.167 MB / 0.7414 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003049/0.5856, allocations: 1.128 MB / 0.7425 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5856, allocations: 0 / 0.7425 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5869, allocations: 0.586 MB / 0.743 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.5885, allocations: 308 kB / 0.7433 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2057/0.7942, allocations: 7.404 MB / 0.7506 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.7947, allocations: 1.048 MB / 0.7516 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009486/0.7956, allocations: 278.5 kB / 0.7519 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.7961, allocations: 419.7 kB / 0.7523 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.7961, allocations: 0.7188 kB / 0.7523 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5312/1.327, allocations: 22.21 MB / 0.7739 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/1.328, allocations: 316.3 kB / 0.7743 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.879, allocations: 4.188 kB / 0.7743 GB, free: 163.7 MB / 0.5762 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)