Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_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.001728/0.001728, allocations: 108 kB / 15.61 MB, free: 152 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.001872/0.001872, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002547/0.002547, allocations: 279 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 100.3 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.15, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007177/0.1572, allocations: 5.165 MB / 0.6986 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4126/0.5698, allocations: 150.7 MB / 0.8458 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006792/0.5705, allocations: 19.31 kB / 0.8458 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.5711, allocations: 206.1 kB / 0.846 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.5726, allocations: 0.5695 MB / 0.8466 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.5744, allocations: 0.8552 MB / 0.8474 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.5757, allocations: 1.442 MB / 0.8488 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008679/0.5766, allocations: 0.656 MB / 0.8495 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.5772, allocations: 0.5127 MB / 0.85 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.5778, allocations: 0.543 MB / 0.8505 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.5779, allocations: 127.2 kB / 0.8506 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000725/0.5787, allocations: 488.9 kB / 0.8511 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.579, allocations: 324.7 kB / 0.8514 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.5795, allocations: 0.6044 MB / 0.852 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.5813, allocations: 1.714 MB / 0.8537 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5813, allocations: 3.938 kB / 0.8537 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5813, allocations: 0 / 0.8537 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.5813, allocations: 0 / 0.8537 GB, free: 1.672 MB / 0.5762 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.002561/0.5839, allocations: 1.501 MB / 0.8551 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.5839, allocations: 13.53 kB / 0.8551 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.5841, allocations: 153.4 kB / 0.8553 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5852, allocations: 216.9 kB / 0.8555 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5863, allocations: 0.7605 MB / 0.8562 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.5863, allocations: 71.34 kB / 0.8563 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5865, allocations: 92.55 kB / 0.8564 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.5881, allocations: 1.016 MB / 0.8574 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5881, allocations: 3.938 kB / 0.8574 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.5882, allocations: 42.16 kB / 0.8574 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.5883, allocations: 23 kB / 0.8575 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.5901, allocations: 1.18 MB / 0.8586 GB, free: 14.34 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.004201/0.5944, allocations: 2.982 MB / 0.8615 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.596, allocations: 0.9217 MB / 0.8624 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.5966, allocations: 308.9 kB / 0.8627 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/0.5973, allocations: 473.2 kB / 0.8632 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009262/0.5982, allocations: 0.5011 MB / 0.8637 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.5982, allocations: 3.938 kB / 0.8637 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003279/0.6015, allocations: 1.226 MB / 0.8649 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6017, allocations: 196.5 kB / 0.865 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.6024, allocations: 0.6429 MB / 0.8657 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.6025, allocations: 40.52 kB / 0.8657 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.6028, allocations: 425 kB / 0.8661 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.6031, allocations: 267.4 kB / 0.8664 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.6033, allocations: 156.8 kB / 0.8665 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.6035, allocations: 388.9 kB / 0.8669 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.6041, allocations: 258 kB / 0.8671 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.6047, allocations: 368.9 kB / 0.8675 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.6059, allocations: 0.6035 MB / 0.8681 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6059, allocations: 0 / 0.8681 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00196/0.6079, allocations: 0.8408 MB / 0.8689 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6079, allocations: 5 kB / 0.8689 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6079, allocations: 2.781 kB / 0.8689 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/0.6085, allocations: 83.48 kB / 0.869 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.6092, allocations: 155.9 kB / 0.8691 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.6114, allocations: 1.625 MB / 0.8707 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.6121, allocations: 96.66 kB / 0.8708 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.6122, allocations: 29.97 kB / 0.8708 GB, free: 5.191 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 (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.0003958/0.6126, allocations: 271.1 kB / 0.8711 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.6128, allocations: 83.69 kB / 0.8712 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.6155, allocations: 1.113 MB / 0.8723 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6155, allocations: 8 kB / 0.8723 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6155, allocations: 0 / 0.8723 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6155, allocations: 3.984 kB / 0.8723 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.619, allocations: 2.012 MB / 0.8742 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.619, allocations: 4 kB / 0.8742 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.6197, allocations: 151.8 kB / 0.8744 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.6201, allocations: 68.8 kB / 0.8745 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.147e-05/0.6202, allocations: 27.97 kB / 0.8745 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.6223, allocations: 1.658 MB / 0.8761 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6223, allocations: 4.062 kB / 0.8761 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.6245, allocations: 1.019 MB / 0.8771 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.6249, allocations: 275.7 kB / 0.8774 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.625, allocations: 16 kB / 0.8774 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.6257, allocations: 68.06 kB / 0.8774 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.6259, allocations: 80.83 kB / 0.8775 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.626, allocations: 35.97 kB / 0.8776 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006206/0.6266, allocations: 471 kB / 0.878 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6266, allocations: 4 kB / 0.878 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009069/0.6275, allocations: 347.1 kB / 0.8783 GB, free: 13.36 MB / 0.6075 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.004412/0.6319, allocations: 2.08 MB / 0.8804 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.6345, allocations: 1.028 MB / 0.8814 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6345, allocations: 0 / 0.8814 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6355, allocations: 0.5353 MB / 0.8819 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6368, allocations: 322.1 kB / 0.8822 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.648, allocations: 6.655 MB / 0.8887 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.6488, allocations: 1.043 MB / 0.8897 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.6497, allocations: 270.9 kB / 0.89 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006221/0.6503, allocations: 411.3 kB / 0.8904 GB, free: 1 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.6503, allocations: 0 / 0.8904 GB, free: 1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05752/0.7078, allocations: 22.25 MB / 0.9121 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.75, allocations: 14.67 kB / 0.9121 GB, free: 11.18 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)