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.0009722/0.0009723, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.0009681/0.0009681, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.21/1.21, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6846/0.6846, allocations: 122.8 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2626, allocations: 77.93 MB / 0.5673 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004955/0.2676, allocations: 5.146 MB / 0.5723 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1285/0.3961, allocations: 150.7 MB / 0.7195 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008418/0.397, allocations: 15.94 kB / 0.7195 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.3975, allocations: 210 kB / 0.7197 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.399, allocations: 0.5717 MB / 0.7203 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.4007, allocations: 0.8529 MB / 0.7211 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.4017, allocations: 1.448 MB / 0.7225 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.4025, allocations: 0.6561 MB / 0.7232 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.4029, allocations: 0.5139 MB / 0.7237 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.4034, allocations: 0.5445 MB / 0.7242 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.4036, allocations: 124 kB / 0.7243 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.4042, allocations: 495.7 kB / 0.7248 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.4045, allocations: 322.9 kB / 0.7251 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.4049, allocations: 0.6064 MB / 0.7257 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.4062, allocations: 1.714 MB / 0.7274 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4062, allocations: 0 / 0.7274 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4063, allocations: 0 / 0.7274 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.4063, allocations: 4 kB / 0.7274 GB, free: 6.363 MB / 0.5606 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.002118/0.4084, allocations: 1.512 MB / 0.7288 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.4084, allocations: 8.625 kB / 0.7288 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.4086, allocations: 148.2 kB / 0.729 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4096, allocations: 215.3 kB / 0.7292 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.4105, allocations: 0.7614 MB / 0.7299 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.4105, allocations: 69.94 kB / 0.73 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4106, allocations: 92 kB / 0.7301 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.4121, allocations: 1.025 MB / 0.7311 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4121, allocations: 0 / 0.7311 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.4122, allocations: 44 kB / 0.7311 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4122, allocations: 24 kB / 0.7311 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.4139, allocations: 1.171 MB / 0.7323 GB, free: 1.164 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.003573/0.4175, allocations: 2.969 MB / 0.7352 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.419, allocations: 0.9123 MB / 0.7361 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.4196, allocations: 322.7 kB / 0.7364 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.4201, allocations: 474.1 kB / 0.7368 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008204/0.421, allocations: 0.4991 MB / 0.7373 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.893e-06/0.421, allocations: 4 kB / 0.7373 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.002997/0.424, allocations: 1.229 MB / 0.7385 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.4241, allocations: 192.5 kB / 0.7387 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.4247, allocations: 0.6411 MB / 0.7393 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.4248, allocations: 41.7 kB / 0.7394 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.425, allocations: 436.1 kB / 0.7398 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.4252, allocations: 268.1 kB / 0.7401 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.4254, allocations: 154.5 kB / 0.7402 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4256, allocations: 382.8 kB / 0.7406 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.4261, allocations: 253.9 kB / 0.7408 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.4266, allocations: 374.5 kB / 0.7412 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.4277, allocations: 0.6033 MB / 0.7418 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4277, allocations: 0 / 0.7418 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001756/0.4295, allocations: 0.8292 MB / 0.7426 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4295, allocations: 10.19 kB / 0.7426 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4295, allocations: 4.062 kB / 0.7426 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.4301, allocations: 84.86 kB / 0.7427 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.4307, allocations: 151.8 kB / 0.7428 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4325, allocations: 1.64 MB / 0.7444 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.4331, allocations: 87.36 kB / 0.7445 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.4331, allocations: 27.98 kB / 0.7445 GB, free: 4.07 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 (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.0003158/0.4335, allocations: 277.5 kB / 0.7448 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4336, allocations: 86.97 kB / 0.7449 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.4359, allocations: 1.105 MB / 0.7459 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4359, allocations: 8 kB / 0.746 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4359, allocations: 0 / 0.746 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.4359, allocations: 3.984 kB / 0.746 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.4388, allocations: 2.008 MB / 0.7479 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4388, allocations: 11.98 kB / 0.7479 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.4394, allocations: 143.8 kB / 0.7481 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.4398, allocations: 80.78 kB / 0.7481 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.4399, allocations: 27.97 kB / 0.7482 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.195/0.6349, allocations: 1.64 MB / 0.7498 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6349, allocations: 0 / 0.7498 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6371, allocations: 1.022 MB / 0.7508 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.6375, allocations: 277.2 kB / 0.751 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.6377, allocations: 30.09 kB / 0.7511 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.6384, allocations: 65.61 kB / 0.7511 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6385, allocations: 70.09 kB / 0.7512 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/0.6386, allocations: 38.3 kB / 0.7512 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000572/0.6392, allocations: 468.1 kB / 0.7517 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6392, allocations: 0.5625 kB / 0.7517 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008927/0.6401, allocations: 351.7 kB / 0.752 GB, free: 169 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 (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.003276/0.6434, allocations: 2.085 MB / 0.754 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.6457, allocations: 1.026 MB / 0.755 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6457, allocations: 0.5938 kB / 0.755 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6467, allocations: 0.5376 MB / 0.7556 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6479, allocations: 310.8 kB / 0.7559 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/0.6573, allocations: 6.649 MB / 0.7624 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.6578, allocations: 1.048 MB / 0.7634 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008239/0.6586, allocations: 272.9 kB / 0.7636 GB, free: 163 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.6591, allocations: 410.4 kB / 0.764 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6591, allocations: 0 / 0.764 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.479/5.138, allocations: 22.2 MB / 0.7857 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/18.28, allocations: 5.078 kB / 0.7857 GB, free: 148.8 MB / 0.5762 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)