Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.0008842/0.0008843, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008924/0.0008923, allocations: 181.4 kB / 16.92 MB, free: 6.777 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.226/1.226, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6201/0.6201, allocations: 115.5 MB / 407.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 11.98 kB / 496 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004461/0.1174, allocations: 4.707 MB / 0.5646 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3423/0.4597, allocations: 146.8 MB / 0.708 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.4604, allocations: 15.94 kB / 0.708 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.4609, allocations: 154.8 kB / 0.7082 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.4624, allocations: 489.7 kB / 0.7086 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.464, allocations: 0.7488 MB / 0.7094 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.4653, allocations: 1.358 MB / 0.7107 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.4661, allocations: 0.6275 MB / 0.7113 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.4665, allocations: 374.2 kB / 0.7117 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.4669, allocations: 413.7 kB / 0.7121 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.467, allocations: 28 kB / 0.7121 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.4677, allocations: 399.6 kB / 0.7125 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.4678, allocations: 191 kB / 0.7127 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.4682, allocations: 0.4948 MB / 0.7131 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4694, allocations: 1.604 MB / 0.7147 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4694, allocations: 0 / 0.7147 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4694, allocations: 0 / 0.7147 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4694, allocations: 8 kB / 0.7147 GB, free: 8.215 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001886/0.4713, allocations: 1.275 MB / 0.716 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.4713, allocations: 8.031 kB / 0.716 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.4715, allocations: 152.2 kB / 0.7161 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.4725, allocations: 227.3 kB / 0.7163 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.4733, allocations: 0.7577 MB / 0.7171 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.4734, allocations: 74 kB / 0.7171 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.4735, allocations: 88 kB / 0.7172 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.4749, allocations: 1.024 MB / 0.7182 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.475, allocations: 0 / 0.7182 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.475, allocations: 40 kB / 0.7183 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.4751, allocations: 28 kB / 0.7183 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.4767, allocations: 1.179 MB / 0.7194 GB, free: 3.238 MB / 0.5294 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.003516/0.4803, allocations: 3.009 MB / 0.7224 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.4817, allocations: 0.9206 MB / 0.7233 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.4823, allocations: 325.2 kB / 0.7236 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.4828, allocations: 474.1 kB / 0.724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007648/0.4836, allocations: 0.4992 MB / 0.7245 GB, free: 13.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.4836, allocations: 4 kB / 0.7245 GB, free: 13.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.002847/0.4865, allocations: 1.252 MB / 0.7258 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.4865, allocations: 188.6 kB / 0.7259 GB, free: 12.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.4872, allocations: 0.6372 MB / 0.7266 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.4872, allocations: 41.7 kB / 0.7266 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.4875, allocations: 432.1 kB / 0.727 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.4877, allocations: 268.2 kB / 0.7273 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.4878, allocations: 65.69 kB / 0.7273 GB, free: 10.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4879, allocations: 386.7 kB / 0.7277 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.4884, allocations: 265.9 kB / 0.7279 GB, free: 10.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.4889, allocations: 374.5 kB / 0.7283 GB, free: 9.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.49, allocations: 0.6111 MB / 0.7289 GB, free: 9.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.49, allocations: 0 / 0.7289 GB, free: 9.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00167/0.4917, allocations: 0.8409 MB / 0.7297 GB, free: 8.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4917, allocations: 8 kB / 0.7297 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4917, allocations: 0 / 0.7297 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.4922, allocations: 84.86 kB / 0.7298 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.4928, allocations: 151.8 kB / 0.73 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.4945, allocations: 1.53 MB / 0.7314 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.4951, allocations: 106.8 kB / 0.7316 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.4952, allocations: 29.73 kB / 0.7316 GB, free: 6.246 MB / 0.545 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 (88): * Single equations (assignments): 87 * 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.0003127/0.4955, allocations: 278.2 kB / 0.7318 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4956, allocations: 86.91 kB / 0.7319 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.4978, allocations: 1.105 MB / 0.733 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4978, allocations: 19.92 kB / 0.733 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.4978, allocations: 0 / 0.733 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4978, allocations: 3.984 kB / 0.733 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.5006, allocations: 2.016 MB / 0.735 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5006, allocations: 8 kB / 0.735 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.5012, allocations: 147.8 kB / 0.7351 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.5017, allocations: 84.77 kB / 0.7352 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.5017, allocations: 23.98 kB / 0.7353 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.5032, allocations: 1.54 MB / 0.7368 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5032, allocations: 3.938 kB / 0.7368 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.505, allocations: 1.031 MB / 0.7378 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.5053, allocations: 295.6 kB / 0.738 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.926e-05/0.5054, allocations: 24 kB / 0.7381 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.5061, allocations: 87.83 kB / 0.7382 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5062, allocations: 68.89 kB / 0.7382 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.5063, allocations: 35.98 kB / 0.7383 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004538/0.5067, allocations: 467 kB / 0.7387 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5067, allocations: 0 / 0.7387 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006901/0.5074, allocations: 351.2 kB / 0.739 GB, free: 14.34 MB / 0.5606 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 (93): * Single equations (assignments): 87 * 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.003066/0.5105, allocations: 2.11 MB / 0.7411 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.5119, allocations: 0.8319 MB / 0.7419 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5119, allocations: 0 / 0.7419 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.5128, allocations: 0.5314 MB / 0.7424 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5139, allocations: 281.6 kB / 0.7427 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009898/0.5238, allocations: 7.124 MB / 0.7497 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.5243, allocations: 1.043 MB / 0.7507 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007389/0.5251, allocations: 282.8 kB / 0.7509 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.5255, allocations: 403.3 kB / 0.7513 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5255, allocations: 0 / 0.7513 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.737/5.263, allocations: 21.09 MB / 0.7719 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/5.263, allocations: 314.4 kB / 0.7722 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/7.539, allocations: 0 / 0.7722 GB, free: 12.69 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)