Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_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.001206/0.001206, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001201/0.001201, allocations: 189 kB / 16.25 MB, free: 6.152 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.191/1.191, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.229/2.229, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4963, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006114/0.5025, allocations: 5.192 MB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.6352, allocations: 148.4 MB / 1.167 GB, free: 8.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.6359, allocations: 11.94 kB / 1.167 GB, free: 8.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.6365, allocations: 158.8 kB / 1.167 GB, free: 8.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.6382, allocations: 0.4976 MB / 1.168 GB, free: 7.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.6399, allocations: 0.7595 MB / 1.168 GB, free: 7.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.6413, allocations: 1.452 MB / 1.17 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008515/0.6422, allocations: 0.6653 MB / 1.17 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006179/0.6428, allocations: 0.5178 MB / 1.171 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.6434, allocations: 0.5523 MB / 1.171 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.6436, allocations: 131.9 kB / 1.172 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.6443, allocations: 475.6 kB / 1.172 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.6446, allocations: 323 kB / 1.172 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.6451, allocations: 0.6102 MB / 1.173 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.6466, allocations: 1.717 MB / 1.175 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6467, allocations: 4 kB / 1.175 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6467, allocations: 0 / 1.175 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.6467, allocations: 4 kB / 1.175 GB, free: 0.5664 MB / 0.92 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.002526/0.6492, allocations: 1.504 MB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6493, allocations: 8.031 kB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.6494, allocations: 156.2 kB / 1.176 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.651, allocations: 307.2 kB / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.652, allocations: 0.7653 MB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.6521, allocations: 74 kB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.6522, allocations: 88 kB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.654, allocations: 1.077 MB / 1.178 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.654, allocations: 0 / 1.178 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.6541, allocations: 39.98 kB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.6541, allocations: 24 kB / 1.179 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.6563, allocations: 1.268 MB / 1.18 GB, free: 11.12 MB / 0.9356 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.004159/0.6605, allocations: 2.983 MB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.6629, allocations: 1.04 MB / 1.184 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.6637, allocations: 366.6 kB / 1.184 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.021e-05/0.6637, allocations: 34.47 kB / 1.184 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.6648, allocations: 0.5589 MB / 1.185 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.254e-06/0.6648, allocations: 0 / 1.185 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003611/0.6684, allocations: 1.384 MB / 1.186 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.6685, allocations: 192.9 kB / 1.186 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.6692, allocations: 0.6371 MB / 1.187 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.6693, allocations: 41.7 kB / 1.187 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.6696, allocations: 436.2 kB / 1.187 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.6698, allocations: 268.1 kB / 1.188 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.67, allocations: 150.5 kB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6702, allocations: 394.8 kB / 1.188 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/0.6709, allocations: 297.8 kB / 1.188 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.6717, allocations: 426.4 kB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.6731, allocations: 0.6866 MB / 1.189 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6731, allocations: 4 kB / 1.189 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002155/0.6753, allocations: 0.9151 MB / 1.19 GB, free: 36 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6753, allocations: 8 kB / 1.19 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6753, allocations: 4.094 kB / 1.19 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.6759, allocations: 80.77 kB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.6767, allocations: 179.7 kB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.6786, allocations: 1.643 MB / 1.192 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.6794, allocations: 116.8 kB / 1.192 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.6795, allocations: 39.97 kB / 1.192 GB, free: 13.82 MB / 0.9512 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.0003354/0.6798, allocations: 257.7 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.68, allocations: 90.97 kB / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.6827, allocations: 1.202 MB / 1.194 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6827, allocations: 15.94 kB / 1.194 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6827, allocations: 4 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6827, allocations: 7.969 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.6861, allocations: 2.143 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6862, allocations: 0 / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.6869, allocations: 179.7 kB / 1.196 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.6873, allocations: 64.8 kB / 1.196 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.6874, allocations: 43.97 kB / 1.196 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.6891, allocations: 1.654 MB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6891, allocations: 0 / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.6915, allocations: 1.113 MB / 1.199 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.6918, allocations: 283.7 kB / 1.199 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6919, allocations: 20 kB / 1.199 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/0.6927, allocations: 91.84 kB / 1.199 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6929, allocations: 76.83 kB / 1.199 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.6929, allocations: 31.98 kB / 1.199 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004925/0.6934, allocations: 475 kB / 1.2 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.6935, allocations: 0 / 1.2 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007128/0.6942, allocations: 343.1 kB / 1.2 GB, free: 5.496 MB / 0.9512 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.003673/0.6979, allocations: 2.184 MB / 1.202 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002599/0.7005, allocations: 1.128 MB / 1.203 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7005, allocations: 4 kB / 1.203 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.7016, allocations: 0.5744 MB / 1.204 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.7027, allocations: 305.4 kB / 1.204 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.7146, allocations: 7.414 MB / 1.212 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.7152, allocations: 1.051 MB / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.716, allocations: 278.9 kB / 1.213 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.7166, allocations: 419.3 kB / 1.213 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.7166, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2688/0.9855, allocations: 22.22 MB / 1.235 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.9857, allocations: 319.1 kB / 1.235 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.211, allocations: 2.953 kB / 1.235 GB, free: 1.93 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)