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.001024/0.001024, allocations: 99.36 kB / 16.4 MB, free: 6.438 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.001059/0.001059, allocations: 196 kB / 17.34 MB, free: 5.711 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7514/0.7514, allocations: 122.8 MB / 414 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 65.52 kB / 0.5679 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1401, allocations: 77.94 MB / 0.644 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006409/0.1465, allocations: 5.141 MB / 0.6491 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4547/0.6012, allocations: 150.7 MB / 0.7962 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008078/0.6021, allocations: 24.62 kB / 0.7962 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.6027, allocations: 202.1 kB / 0.7964 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.6042, allocations: 0.565 MB / 0.797 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.6059, allocations: 0.8606 MB / 0.7978 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.607, allocations: 1.463 MB / 0.7992 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.6078, allocations: 0.6596 MB / 0.7999 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.6084, allocations: 0.5205 MB / 0.8004 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.6089, allocations: 0.5618 MB / 0.8009 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.6091, allocations: 126.2 kB / 0.8011 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.6098, allocations: 492.5 kB / 0.8015 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.6101, allocations: 325.5 kB / 0.8018 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.6105, allocations: 0.6154 MB / 0.8024 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.6123, allocations: 1.757 MB / 0.8042 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6123, allocations: 0 / 0.8042 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6123, allocations: 0 / 0.8042 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.6123, allocations: 0 / 0.8042 GB, free: 11.51 MB / 0.5919 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.002503/0.6148, allocations: 1.556 MB / 0.8057 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6149, allocations: 17.36 kB / 0.8057 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.615, allocations: 154.3 kB / 0.8058 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.6167, allocations: 307.4 kB / 0.8061 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.6178, allocations: 0.7966 MB / 0.8069 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.6179, allocations: 71.78 kB / 0.807 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.618, allocations: 91.31 kB / 0.8071 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.6198, allocations: 1.075 MB / 0.8081 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.6198, allocations: 3.938 kB / 0.8081 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.6199, allocations: 41.66 kB / 0.8082 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.62, allocations: 22.44 kB / 0.8082 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.6221, allocations: 1.268 MB / 0.8094 GB, free: 9.516 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.004206/0.6263, allocations: 2.97 MB / 0.8123 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.6287, allocations: 1.035 MB / 0.8133 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.6294, allocations: 361.5 kB / 0.8137 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-05/0.6295, allocations: 35.48 kB / 0.8137 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.6306, allocations: 0.5547 MB / 0.8143 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/0.6306, allocations: 0 / 0.8143 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003755/0.6343, allocations: 1.391 MB / 0.8156 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.6345, allocations: 191.6 kB / 0.8158 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.6352, allocations: 0.638 MB / 0.8164 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.6353, allocations: 42.77 kB / 0.8165 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.6356, allocations: 433.7 kB / 0.8169 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.6358, allocations: 289.8 kB / 0.8172 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.6361, allocations: 155.7 kB / 0.8173 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6362, allocations: 391.7 kB / 0.8177 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.637, allocations: 300.9 kB / 0.818 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/0.6378, allocations: 420.4 kB / 0.8184 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.6393, allocations: 0.6866 MB / 0.819 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6393, allocations: 3.938 kB / 0.819 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002242/0.6416, allocations: 0.9259 MB / 0.8199 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6416, allocations: 4.969 kB / 0.8199 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6416, allocations: 6.422 kB / 0.82 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/0.6422, allocations: 83.61 kB / 0.82 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.6429, allocations: 181.4 kB / 0.8202 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.645, allocations: 1.627 MB / 0.8218 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.6458, allocations: 116 kB / 0.8219 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.6459, allocations: 31.72 kB / 0.8219 GB, free: 1.699 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 (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.000408/0.6463, allocations: 275.4 kB / 0.8222 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6465, allocations: 87.97 kB / 0.8223 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.6493, allocations: 1.21 MB / 0.8235 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6493, allocations: 13.7 kB / 0.8235 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6493, allocations: 0 / 0.8235 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.6493, allocations: 10.52 kB / 0.8235 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.653, allocations: 2.141 MB / 0.8256 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.653, allocations: 0 / 0.8256 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.6537, allocations: 170.2 kB / 0.8257 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.6542, allocations: 74.88 kB / 0.8258 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.6543, allocations: 23.39 kB / 0.8258 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.6561, allocations: 1.665 MB / 0.8275 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6561, allocations: 1.781 kB / 0.8275 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.6585, allocations: 1.125 MB / 0.8286 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.6589, allocations: 282.3 kB / 0.8288 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.659, allocations: 24.83 kB / 0.8289 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.6599, allocations: 86.61 kB / 0.8289 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.66, allocations: 79.95 kB / 0.829 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/0.6601, allocations: 35.03 kB / 0.829 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005193/0.6606, allocations: 469.8 kB / 0.8295 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6606, allocations: 0 / 0.8295 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008326/0.6615, allocations: 347 kB / 0.8298 GB, free: 12.33 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 (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.003806/0.6653, allocations: 2.173 MB / 0.8319 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.6673, allocations: 0.9211 MB / 0.8328 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6674, allocations: 0 / 0.8328 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6685, allocations: 0.5837 MB / 0.8334 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.6698, allocations: 309.2 kB / 0.8337 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.681, allocations: 6.766 MB / 0.8403 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.6816, allocations: 1.047 MB / 0.8413 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008624/0.6825, allocations: 278.9 kB / 0.8416 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.6831, allocations: 423.2 kB / 0.842 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6831, allocations: 3.938 kB / 0.842 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.7317, allocations: 22.63 MB / 0.8641 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.1, allocations: 6.094 kB / 0.8641 GB, free: 11.59 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)