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.001111/0.001111, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.00134/0.00134, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.232/1.232, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6658/0.6658, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2783, allocations: 76.17 MB / 0.556 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00523/0.2836, allocations: 5.146 MB / 0.561 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1369/0.4205, allocations: 148.5 MB / 0.7061 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.4216, allocations: 15.94 kB / 0.7061 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.4224, allocations: 154.8 kB / 0.7062 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.4243, allocations: 0.4994 MB / 0.7067 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.4263, allocations: 0.7719 MB / 0.7075 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.4279, allocations: 1.448 MB / 0.7089 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.4288, allocations: 0.6522 MB / 0.7095 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.4295, allocations: 0.5255 MB / 0.71 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.4302, allocations: 0.5523 MB / 0.7106 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.4304, allocations: 124 kB / 0.7107 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.4312, allocations: 487.7 kB / 0.7112 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.4315, allocations: 315 kB / 0.7115 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.432, allocations: 0.6141 MB / 0.7121 GB, free: 4.309 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.4337, allocations: 1.721 MB / 0.7137 GB, free: 2.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4337, allocations: 0 / 0.7137 GB, free: 2.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4338, allocations: 4 kB / 0.7137 GB, free: 2.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.1e-05/0.4338, allocations: 0 / 0.7137 GB, free: 2.578 MB / 0.545 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.002544/0.4363, allocations: 1.5 MB / 0.7152 GB, free: 1.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4364, allocations: 8.031 kB / 0.7152 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.4366, allocations: 144.2 kB / 0.7153 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.4376, allocations: 223.2 kB / 0.7156 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009765/0.4386, allocations: 0.7654 MB / 0.7163 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.4387, allocations: 73.92 kB / 0.7164 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.4388, allocations: 96 kB / 0.7165 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4405, allocations: 1.012 MB / 0.7175 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.4405, allocations: 4 kB / 0.7175 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/0.4406, allocations: 40 kB / 0.7175 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.4406, allocations: 24 kB / 0.7175 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.4424, allocations: 1.175 MB / 0.7187 GB, free: 13.38 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.004026/0.4464, allocations: 2.961 MB / 0.7216 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.448, allocations: 0.9201 MB / 0.7225 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.4486, allocations: 310.7 kB / 0.7228 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.4492, allocations: 474.1 kB / 0.7232 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008958/0.4501, allocations: 0.5068 MB / 0.7237 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.084e-06/0.4501, allocations: 4 kB / 0.7237 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003121/0.4533, allocations: 1.233 MB / 0.7249 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.4534, allocations: 192.5 kB / 0.7251 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.4541, allocations: 0.645 MB / 0.7257 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.4541, allocations: 41.7 kB / 0.7258 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.4544, allocations: 428.2 kB / 0.7262 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.4546, allocations: 264.1 kB / 0.7264 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.4548, allocations: 154.5 kB / 0.7266 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.455, allocations: 386.8 kB / 0.7269 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.4555, allocations: 257.9 kB / 0.7272 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.4561, allocations: 370.5 kB / 0.7275 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4572, allocations: 0.5994 MB / 0.7281 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4572, allocations: 0 / 0.7281 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001848/0.4591, allocations: 0.8369 MB / 0.7289 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4591, allocations: 4 kB / 0.7289 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4591, allocations: 0 / 0.7289 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.4597, allocations: 84.86 kB / 0.729 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.4604, allocations: 155.8 kB / 0.7292 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.4623, allocations: 1.642 MB / 0.7308 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.463, allocations: 95.22 kB / 0.7309 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.463, allocations: 31.98 kB / 0.7309 GB, free: 284 kB / 0.5606 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.0003342/0.4634, allocations: 269.7 kB / 0.7312 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.4635, allocations: 83.31 kB / 0.7312 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.4659, allocations: 1.097 MB / 0.7323 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4659, allocations: 8 kB / 0.7323 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.466, allocations: 4 kB / 0.7323 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.466, allocations: 3.984 kB / 0.7323 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.4691, allocations: 2.008 MB / 0.7343 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4691, allocations: 4 kB / 0.7343 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.4697, allocations: 151.8 kB / 0.7344 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.4701, allocations: 76.72 kB / 0.7345 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.4702, allocations: 27.97 kB / 0.7345 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.472, allocations: 1.662 MB / 0.7362 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.472, allocations: 0 / 0.7362 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.4739, allocations: 1.016 MB / 0.7371 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.4743, allocations: 279.7 kB / 0.7374 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.4744, allocations: 31.84 kB / 0.7374 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.4751, allocations: 68.75 kB / 0.7375 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4752, allocations: 80.78 kB / 0.7376 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.4753, allocations: 39.97 kB / 0.7376 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005056/0.4758, allocations: 467 kB / 0.7381 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4758, allocations: 4 kB / 0.7381 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007535/0.4766, allocations: 343.2 kB / 0.7384 GB, free: 8.328 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.003409/0.48, allocations: 2.084 MB / 0.7404 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.4822, allocations: 1.022 MB / 0.7414 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4822, allocations: 4.188 kB / 0.7414 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009162/0.4831, allocations: 0.5314 MB / 0.742 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.4843, allocations: 300.4 kB / 0.7422 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.194/0.6783, allocations: 7.073 MB / 0.7492 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.6788, allocations: 1.05 MB / 0.7502 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008545/0.6797, allocations: 272.5 kB / 0.7504 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.6802, allocations: 404.5 kB / 0.7508 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.6802, allocations: 2.031 kB / 0.7508 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7495/1.43, allocations: 22.01 MB / 0.7723 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.43, allocations: 312.2 kB / 0.7726 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.885, allocations: 4 kB / 0.7726 GB, free: 163.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)