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.0006787/0.0006787, allocations: 92.8 kB / 16.02 MB, free: 84 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.001057/0.001057, allocations: 183 kB / 16.92 MB, free: 6.68 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.214/1.214, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.61/0.61, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002551, allocations: 12.61 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004432/0.1214, allocations: 4.711 MB / 0.5646 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3427/0.4642, allocations: 146.8 MB / 0.708 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.4648, allocations: 15.94 kB / 0.708 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.4653, allocations: 158.8 kB / 0.7081 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.4666, allocations: 483.4 kB / 0.7086 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.4681, allocations: 0.7462 MB / 0.7093 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.4694, allocations: 1.354 MB / 0.7106 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007936/0.4702, allocations: 0.6318 MB / 0.7113 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.4707, allocations: 378.2 kB / 0.7116 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.4711, allocations: 417.7 kB / 0.712 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.4712, allocations: 31.94 kB / 0.7121 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/0.4719, allocations: 367.6 kB / 0.7124 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4721, allocations: 199 kB / 0.7126 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.4725, allocations: 0.4948 MB / 0.7131 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.4738, allocations: 1.608 MB / 0.7146 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4738, allocations: 0 / 0.7146 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4738, allocations: 0 / 0.7146 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.4738, allocations: 0 / 0.7146 GB, free: 8.133 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.0021/0.4759, allocations: 1.287 MB / 0.7159 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.476, allocations: 12.03 kB / 0.7159 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.4762, allocations: 148.3 kB / 0.7161 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.4777, allocations: 323.2 kB / 0.7164 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/0.4786, allocations: 0.7616 MB / 0.7171 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.4787, allocations: 66 kB / 0.7172 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4788, allocations: 99.98 kB / 0.7173 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.4805, allocations: 1.074 MB / 0.7183 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4805, allocations: 0 / 0.7183 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.4806, allocations: 44 kB / 0.7184 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.4806, allocations: 24 kB / 0.7184 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.4843, allocations: 1.28 MB / 0.7196 GB, free: 2.895 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.00419/0.4885, allocations: 3.012 MB / 0.7226 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.4908, allocations: 1.036 MB / 0.7236 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/0.4915, allocations: 367.5 kB / 0.7239 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.4916, allocations: 36.52 kB / 0.724 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009833/0.4926, allocations: 0.5568 MB / 0.7245 GB, free: 13.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 1.773e-06/0.4926, allocations: 0 / 0.7245 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.003449/0.4961, allocations: 1.399 MB / 0.7259 GB, free: 12.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.4962, allocations: 200.9 kB / 0.7261 GB, free: 12.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.4968, allocations: 0.6371 MB / 0.7267 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.4969, allocations: 45.7 kB / 0.7267 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.4972, allocations: 428.2 kB / 0.7271 GB, free: 10.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.4974, allocations: 272.1 kB / 0.7274 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.4974, allocations: 65.69 kB / 0.7275 GB, free: 10.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4976, allocations: 382.8 kB / 0.7278 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.4983, allocations: 313.8 kB / 0.7281 GB, free: 9.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.499, allocations: 422.5 kB / 0.7285 GB, free: 9.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.5004, allocations: 0.6984 MB / 0.7292 GB, free: 8.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5004, allocations: 0 / 0.7292 GB, free: 8.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002058/0.5025, allocations: 0.9307 MB / 0.7301 GB, free: 7.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5025, allocations: 5.719 kB / 0.7301 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5025, allocations: 7.938 kB / 0.7301 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.503, allocations: 80.88 kB / 0.7302 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.5038, allocations: 175.8 kB / 0.7304 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.5054, allocations: 1.53 MB / 0.7319 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.5062, allocations: 127.2 kB / 0.732 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.5062, allocations: 31.97 kB / 0.732 GB, free: 5.727 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 (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.0003277/0.5066, allocations: 279.8 kB / 0.7323 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5067, allocations: 86.95 kB / 0.7324 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.5093, allocations: 1.211 MB / 0.7336 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5093, allocations: 11.98 kB / 0.7336 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5093, allocations: 0 / 0.7336 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5093, allocations: 7.984 kB / 0.7336 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.5126, allocations: 2.164 MB / 0.7357 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5126, allocations: 0 / 0.7357 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.5133, allocations: 175.8 kB / 0.7359 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/0.5138, allocations: 80.78 kB / 0.7359 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.5138, allocations: 27.97 kB / 0.736 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.5153, allocations: 1.544 MB / 0.7375 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5153, allocations: 0 / 0.7375 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.5175, allocations: 1.133 MB / 0.7386 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.5178, allocations: 287.7 kB / 0.7389 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5179, allocations: 19.98 kB / 0.7389 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.5187, allocations: 119.2 kB / 0.739 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5189, allocations: 72.89 kB / 0.7391 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.5189, allocations: 35.98 kB / 0.7391 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004625/0.5194, allocations: 467 kB / 0.7395 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5194, allocations: 0 / 0.7395 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006796/0.5201, allocations: 339.1 kB / 0.7399 GB, free: 13.45 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 (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.003399/0.5235, allocations: 2.176 MB / 0.742 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.5253, allocations: 0.929 MB / 0.7429 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5253, allocations: 0 / 0.7429 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.5264, allocations: 0.586 MB / 0.7435 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5275, allocations: 288.4 kB / 0.7437 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.5405, allocations: 7.448 MB / 0.751 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.541, allocations: 1.043 MB / 0.752 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007724/0.5417, allocations: 290.9 kB / 0.7523 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.5422, allocations: 419 kB / 0.7527 GB, free: 248 kB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5423, allocations: 0 / 0.7527 GB, free: 248 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.748/5.29, allocations: 21.28 MB / 0.7735 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/5.291, allocations: 311.9 kB / 0.7738 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/7.601, allocations: 0 / 0.7738 GB, free: 11.02 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)