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.001022/0.001022, allocations: 108 kB / 15.61 MB, free: 152 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.0009811/0.000981, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.253/2.253, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4559, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005518/0.4614, allocations: 5.18 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1252/0.5867, allocations: 150.7 MB / 1.17 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006273/0.5874, allocations: 15.94 kB / 1.17 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.5878, allocations: 206 kB / 1.17 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.5891, allocations: 0.5576 MB / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.5906, allocations: 0.8516 MB / 1.171 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000975/0.5915, allocations: 1.448 MB / 1.173 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007137/0.5923, allocations: 0.6692 MB / 1.173 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.5927, allocations: 0.5178 MB / 1.174 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.5932, allocations: 0.5578 MB / 1.174 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.5933, allocations: 128 kB / 1.174 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.5939, allocations: 463.7 kB / 1.175 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.5941, allocations: 319 kB / 1.175 GB, free: 448 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.5945, allocations: 0.6142 MB / 1.176 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.5958, allocations: 1.713 MB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5958, allocations: 4 kB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5958, allocations: 0 / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.5958, allocations: 3.938 kB / 1.177 GB, free: 14.09 MB / 0.9356 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.002087/0.5979, allocations: 1.516 MB / 1.179 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.5979, allocations: 8.031 kB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.5981, allocations: 156.3 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.5996, allocations: 299.2 kB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.6005, allocations: 0.7654 MB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.6005, allocations: 74 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6006, allocations: 91.94 kB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.6023, allocations: 1.074 MB / 1.181 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6023, allocations: 4 kB / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.6024, allocations: 40 kB / 1.181 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.6024, allocations: 24 kB / 1.181 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.6045, allocations: 1.268 MB / 1.183 GB, free: 8.641 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.003763/0.6082, allocations: 2.988 MB / 1.186 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.6106, allocations: 1.024 MB / 1.187 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.6113, allocations: 366.6 kB / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.506e-05/0.6114, allocations: 34.47 kB / 1.187 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009924/0.6124, allocations: 0.555 MB / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.733e-06/0.6124, allocations: 0 / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003479/0.6159, allocations: 1.384 MB / 1.189 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.616, allocations: 192.9 kB / 1.189 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.6166, allocations: 0.641 MB / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.6166, allocations: 45.7 kB / 1.19 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.6169, allocations: 428.2 kB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.6171, allocations: 268.1 kB / 1.19 GB, free: 488 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.6173, allocations: 154.5 kB / 1.191 GB, free: 324 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6174, allocations: 394.8 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.6181, allocations: 309.8 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.6189, allocations: 414.5 kB / 1.192 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.6203, allocations: 0.6906 MB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6203, allocations: 0 / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002105/0.6224, allocations: 0.9112 MB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.6224, allocations: 16.02 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6225, allocations: 0 / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.623, allocations: 80.78 kB / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.6237, allocations: 179.7 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08896/0.7127, allocations: 1.642 MB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/0.7136, allocations: 113.4 kB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.7136, allocations: 35.97 kB / 1.195 GB, free: 11.36 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.0003643/0.714, allocations: 269.6 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.7142, allocations: 86.91 kB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.7168, allocations: 1.206 MB / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.7168, allocations: 8 kB / 1.197 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.7168, allocations: 0 / 1.197 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.7168, allocations: 11.97 kB / 1.197 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.7201, allocations: 2.143 MB / 1.199 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7201, allocations: 0 / 1.199 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.7208, allocations: 175.8 kB / 1.199 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.7212, allocations: 72.78 kB / 1.199 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.7212, allocations: 27.97 kB / 1.199 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.7228, allocations: 1.666 MB / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7228, allocations: 0 / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.725, allocations: 1.121 MB / 1.202 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.7253, allocations: 279.7 kB / 1.202 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.7254, allocations: 16 kB / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.7262, allocations: 83.91 kB / 1.202 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.7263, allocations: 76.84 kB / 1.202 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.7264, allocations: 39.97 kB / 1.202 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004689/0.7269, allocations: 467 kB / 1.203 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7269, allocations: 7.938 kB / 1.203 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000651/0.7275, allocations: 347 kB / 1.203 GB, free: 3.023 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.00348/0.731, allocations: 2.172 MB / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.7335, allocations: 1.136 MB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7335, allocations: 0 / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7346, allocations: 0.5744 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7357, allocations: 303.9 kB / 1.207 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.7457, allocations: 6.978 MB / 1.214 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.7462, allocations: 1.054 MB / 1.215 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000795/0.747, allocations: 282.9 kB / 1.215 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.7475, allocations: 419.3 kB / 1.216 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.7475, allocations: 3.938 kB / 1.216 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6104/1.358, allocations: 22.41 MB / 1.238 GB, free: 52 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.46, allocations: 12.25 kB / 1.238 GB, free: 40 kB / 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)