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.00423/0.00423, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.000912/0.000912, allocations: 194.9 kB / 16.79 MB, free: 6.246 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.177/1.177, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6213/0.6213, allocations: 115.3 MB / 406 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.27 kB / 493 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005583/0.1188, allocations: 5.15 MB / 0.5609 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.321/0.4399, allocations: 148.4 MB / 0.7058 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.4406, allocations: 19.94 kB / 0.7058 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.4413, allocations: 157.3 kB / 0.7059 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.4427, allocations: 487.2 kB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.4443, allocations: 0.7338 MB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.4456, allocations: 1.366 MB / 0.7084 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.4464, allocations: 0.6369 MB / 0.7091 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.447, allocations: 466.1 kB / 0.7095 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.4476, allocations: 0.52 MB / 0.71 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.4477, allocations: 72 kB / 0.7101 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.4484, allocations: 409.9 kB / 0.7105 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.4487, allocations: 259 kB / 0.7107 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.4491, allocations: 0.5538 MB / 0.7113 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.4505, allocations: 1.658 MB / 0.7129 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4505, allocations: 0 / 0.7129 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4506, allocations: 0 / 0.7129 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.4506, allocations: 3.938 kB / 0.7129 GB, free: 5.926 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.00256/0.4531, allocations: 1.512 MB / 0.7144 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4532, allocations: 12.03 kB / 0.7144 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.4534, allocations: 156.2 kB / 0.7145 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.455, allocations: 303.2 kB / 0.7148 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.4559, allocations: 0.7617 MB / 0.7156 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.456, allocations: 74 kB / 0.7156 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.4561, allocations: 95.98 kB / 0.7157 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.4579, allocations: 1.074 MB / 0.7168 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4579, allocations: 0 / 0.7168 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-05/0.458, allocations: 44 kB / 0.7168 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.458, allocations: 20 kB / 0.7168 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.4602, allocations: 1.276 MB / 0.7181 GB, free: 484 kB / 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.004121/0.4643, allocations: 2.972 MB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.4667, allocations: 1.034 MB / 0.722 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.4675, allocations: 369.3 kB / 0.7223 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/0.4676, allocations: 28.61 kB / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.4686, allocations: 0.5643 MB / 0.7229 GB, free: 11.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 1.903e-06/0.4686, allocations: 0 / 0.7229 GB, free: 11.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.003571/0.4722, allocations: 1.384 MB / 0.7243 GB, free: 9.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.4723, allocations: 196.9 kB / 0.7245 GB, free: 9.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.4729, allocations: 0.6372 MB / 0.7251 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.473, allocations: 45.7 kB / 0.7251 GB, free: 9.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.4733, allocations: 432.2 kB / 0.7255 GB, free: 8.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.4735, allocations: 264.1 kB / 0.7258 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.4737, allocations: 158.5 kB / 0.7259 GB, free: 8.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4738, allocations: 386.8 kB / 0.7263 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.4745, allocations: 301.8 kB / 0.7266 GB, free: 7.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.4753, allocations: 422.4 kB / 0.727 GB, free: 7.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.4767, allocations: 0.6906 MB / 0.7277 GB, free: 6.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4767, allocations: 0 / 0.7277 GB, free: 6.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002142/0.4789, allocations: 0.9151 MB / 0.7286 GB, free: 5.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4789, allocations: 4 kB / 0.7286 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4789, allocations: 3.984 kB / 0.7286 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.4795, allocations: 80.88 kB / 0.7286 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.4802, allocations: 179.7 kB / 0.7288 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.482, allocations: 1.522 MB / 0.7303 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/0.4828, allocations: 116.1 kB / 0.7304 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.4828, allocations: 35.97 kB / 0.7305 GB, free: 3.34 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.0003443/0.4832, allocations: 274.4 kB / 0.7307 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4833, allocations: 86.91 kB / 0.7308 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.4861, allocations: 1.207 MB / 0.732 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4861, allocations: 11.94 kB / 0.732 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4861, allocations: 0 / 0.732 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4861, allocations: 15.97 kB / 0.732 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.4895, allocations: 2.138 MB / 0.7341 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4895, allocations: 0 / 0.7341 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/0.4902, allocations: 179.7 kB / 0.7343 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/0.4907, allocations: 72.78 kB / 0.7343 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/0.4908, allocations: 43.95 kB / 0.7344 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.4924, allocations: 1.54 MB / 0.7359 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4924, allocations: 4.031 kB / 0.7359 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.4947, allocations: 1.121 MB / 0.737 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.495, allocations: 279.7 kB / 0.7372 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4951, allocations: 16 kB / 0.7373 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.4959, allocations: 91.91 kB / 0.7373 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4961, allocations: 68.89 kB / 0.7374 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.4961, allocations: 39.97 kB / 0.7374 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004806/0.4966, allocations: 467 kB / 0.7379 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4966, allocations: 0 / 0.7379 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007117/0.4973, allocations: 347 kB / 0.7382 GB, free: 11.13 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.003618/0.501, allocations: 2.168 MB / 0.7403 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.5028, allocations: 0.9134 MB / 0.7412 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5028, allocations: 0 / 0.7412 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5039, allocations: 0.5822 MB / 0.7418 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.505, allocations: 288.2 kB / 0.7421 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.5165, allocations: 7.417 MB / 0.7493 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.517, allocations: 1.047 MB / 0.7503 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000823/0.5179, allocations: 275 kB / 0.7506 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.5184, allocations: 423.2 kB / 0.751 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.5184, allocations: 0 / 0.751 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.64/3.159, allocations: 21.59 MB / 0.7721 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/3.159, allocations: 315.5 kB / 0.7724 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/5.452, allocations: 0 / 0.7724 GB, free: 8.43 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)