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.0009839/0.000984, allocations: 101 kB / 16.27 MB, free: 5.93 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.001029/0.001029, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.189/1.189, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6887/0.6887, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00508/0.2852, allocations: 5.136 MB / 0.5723 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1353/0.4205, allocations: 150.7 MB / 0.7195 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009677/0.4215, allocations: 19.88 kB / 0.7195 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.4222, allocations: 206.1 kB / 0.7197 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.4243, allocations: 0.5646 MB / 0.7203 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.4264, allocations: 0.8623 MB / 0.7211 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.4282, allocations: 1.44 MB / 0.7225 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.4293, allocations: 0.6483 MB / 0.7231 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008404/0.4302, allocations: 0.5177 MB / 0.7236 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007361/0.4309, allocations: 0.5446 MB / 0.7242 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.4311, allocations: 124 kB / 0.7243 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.432, allocations: 495.6 kB / 0.7248 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.4323, allocations: 315 kB / 0.7251 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005104/0.4328, allocations: 0.6103 MB / 0.7257 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.4345, allocations: 1.717 MB / 0.7273 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4345, allocations: 0 / 0.7273 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4345, allocations: 0 / 0.7273 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.4345, allocations: 0 / 0.7273 GB, free: 6.336 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.002201/0.4367, allocations: 1.51 MB / 0.7288 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4368, allocations: 8.625 kB / 0.7288 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.4369, allocations: 152.1 kB / 0.729 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.4379, allocations: 219.3 kB / 0.7292 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.4389, allocations: 0.7614 MB / 0.7299 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.4389, allocations: 70 kB / 0.73 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.439, allocations: 99.98 kB / 0.7301 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.4405, allocations: 1.016 MB / 0.7311 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4406, allocations: 0 / 0.7311 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.4407, allocations: 40 kB / 0.7311 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.4407, allocations: 24 kB / 0.7311 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.4425, allocations: 1.178 MB / 0.7323 GB, free: 1.129 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.003753/0.4462, allocations: 2.974 MB / 0.7352 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.4478, allocations: 0.9084 MB / 0.7361 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.4483, allocations: 322.6 kB / 0.7364 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005815/0.4489, allocations: 474.1 kB / 0.7368 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008554/0.4498, allocations: 0.4953 MB / 0.7373 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.873e-06/0.4498, allocations: 0 / 0.7373 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.00305/0.4529, allocations: 1.233 MB / 0.7385 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.453, allocations: 192.6 kB / 0.7387 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.4536, allocations: 0.6411 MB / 0.7393 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.4537, allocations: 49.7 kB / 0.7394 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.454, allocations: 428.1 kB / 0.7398 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.4542, allocations: 264.2 kB / 0.74 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.4544, allocations: 158.5 kB / 0.7402 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4545, allocations: 382.8 kB / 0.7406 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.455, allocations: 253.9 kB / 0.7408 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.4556, allocations: 374.5 kB / 0.7412 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4567, allocations: 0.6034 MB / 0.7418 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4567, allocations: 3.938 kB / 0.7418 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001787/0.4585, allocations: 0.8253 MB / 0.7426 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4586, allocations: 8 kB / 0.7426 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4586, allocations: 4.094 kB / 0.7426 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.4591, allocations: 76.77 kB / 0.7426 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.4598, allocations: 163.7 kB / 0.7428 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4616, allocations: 1.634 MB / 0.7444 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.4622, allocations: 87.36 kB / 0.7445 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.4623, allocations: 32.03 kB / 0.7445 GB, free: 4.035 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.0003365/0.4626, allocations: 273.7 kB / 0.7448 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4628, allocations: 87.16 kB / 0.7449 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.4651, allocations: 1.105 MB / 0.7459 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4652, allocations: 8 kB / 0.7459 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4652, allocations: 4 kB / 0.7459 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4652, allocations: 3.984 kB / 0.746 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.4682, allocations: 2.008 MB / 0.7479 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4682, allocations: 4 kB / 0.7479 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.4688, allocations: 147.8 kB / 0.7481 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.4692, allocations: 72.8 kB / 0.7481 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.4693, allocations: 27.97 kB / 0.7482 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2119/0.6813, allocations: 1.653 MB / 0.7498 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6813, allocations: 4.5 kB / 0.7498 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.6835, allocations: 1.022 MB / 0.7508 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.6839, allocations: 281 kB / 0.751 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.684, allocations: 18.33 kB / 0.7511 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.6847, allocations: 66.92 kB / 0.7511 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.6849, allocations: 73.02 kB / 0.7512 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.6849, allocations: 38.28 kB / 0.7512 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000607/0.6855, allocations: 468.7 kB / 0.7517 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6856, allocations: 0 / 0.7517 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008691/0.6864, allocations: 350.8 kB / 0.752 GB, free: 169.2 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.003408/0.6898, allocations: 2.085 MB / 0.754 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.6926, allocations: 1.026 MB / 0.755 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6926, allocations: 8.844 kB / 0.7551 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.6938, allocations: 0.537 MB / 0.7556 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6951, allocations: 305.5 kB / 0.7559 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009287/0.7044, allocations: 6.651 MB / 0.7624 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.7049, allocations: 1.045 MB / 0.7634 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008544/0.7058, allocations: 279.4 kB / 0.7637 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.7063, allocations: 407.9 kB / 0.764 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.7063, allocations: 0 / 0.764 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.7448, allocations: 22.19 MB / 0.7857 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.31, allocations: 10.88 kB / 0.7857 GB, free: 148.7 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)