Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_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.006828/0.006829, allocations: 106.2 kB / 15.74 MB, free: 6 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.001606/0.001606, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 62.47 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2198, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005574/0.2254, allocations: 4.409 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.3608, allocations: 150.6 MB / 1.239 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.3614, allocations: 19.88 kB / 1.239 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.362, allocations: 174.3 kB / 1.239 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.3636, allocations: 0.5067 MB / 1.24 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3653, allocations: 0.8481 MB / 1.24 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.3664, allocations: 1.328 MB / 1.242 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008279/0.3672, allocations: 0.7001 MB / 1.242 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/0.3677, allocations: 0.5022 MB / 1.243 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.3683, allocations: 0.5344 MB / 1.243 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3684, allocations: 135.9 kB / 1.243 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.3691, allocations: 491.6 kB / 1.244 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.3694, allocations: 330.9 kB / 1.244 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.3699, allocations: 0.5907 MB / 1.245 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.3715, allocations: 1.714 MB / 1.247 GB, free: 14.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3715, allocations: 0 / 1.247 GB, free: 14.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3715, allocations: 0 / 1.247 GB, free: 14.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.3715, allocations: 0 / 1.247 GB, free: 14.47 MB / 1.014 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.002347/0.3739, allocations: 1.492 MB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3739, allocations: 8.031 kB / 1.248 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3741, allocations: 156.3 kB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.3756, allocations: 299.2 kB / 1.248 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3767, allocations: 0.8003 MB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.3768, allocations: 66 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3769, allocations: 99.98 kB / 1.249 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3786, allocations: 1.066 MB / 1.25 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3787, allocations: 3.938 kB / 1.25 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.3788, allocations: 44 kB / 1.25 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.3788, allocations: 24 kB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.381, allocations: 1.268 MB / 1.252 GB, free: 9.012 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.3849, allocations: 2.68 MB / 1.254 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.3874, allocations: 1.024 MB / 1.255 GB, free: 5.227 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007638/0.3882, allocations: 362.6 kB / 1.256 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/0.3883, allocations: 38.47 kB / 1.256 GB, free: 4.832 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.3893, allocations: 0.5471 MB / 1.256 GB, free: 4.262 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 5.37e-06/0.3893, allocations: 4 kB / 1.256 GB, free: 4.258 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003668/0.393, allocations: 1.38 MB / 1.258 GB, free: 2.855 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.3931, allocations: 192.9 kB / 1.258 GB, free: 2.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.3938, allocations: 0.6449 MB / 1.258 GB, free: 1.973 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.3939, allocations: 41.7 kB / 1.258 GB, free: 1.926 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.3941, allocations: 432.2 kB / 1.259 GB, free: 1.496 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.3943, allocations: 272.1 kB / 1.259 GB, free: 1.227 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3945, allocations: 150.5 kB / 1.259 GB, free: 1.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3947, allocations: 386.8 kB / 1.26 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.3954, allocations: 301.8 kB / 1.26 GB, free: 400 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4531/0.8485, allocations: 417 kB / 1.26 GB, free: 173.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.8504, allocations: 0.6841 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8504, allocations: 0.9062 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002468/0.8529, allocations: 0.9127 MB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8529, allocations: 9.312 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8529, allocations: 1.594 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.8535, allocations: 81.27 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.8543, allocations: 180.1 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.8561, allocations: 1.624 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.8569, allocations: 120 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.8569, allocations: 34.83 kB / 1.264 GB, free: 171.9 MB / 1.014 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.0003941/0.8573, allocations: 279.3 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.8575, allocations: 84.62 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.8605, allocations: 1.201 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.8605, allocations: 9.719 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8605, allocations: 5.391 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.8606, allocations: 4.359 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.8645, allocations: 2.154 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8645, allocations: 1 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.8653, allocations: 173.9 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.8658, allocations: 72.23 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.8658, allocations: 26.78 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.8675, allocations: 1.66 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8675, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.8702, allocations: 1.123 MB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.8706, allocations: 280.3 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.8707, allocations: 22.48 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.8715, allocations: 88.7 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.8717, allocations: 74.89 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.8718, allocations: 34.05 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005956/0.8724, allocations: 471.3 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8724, allocations: 1.312 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009062/0.8733, allocations: 323 kB / 1.272 GB, free: 168 MB / 1.014 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.004065/0.8773, allocations: 2.157 MB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.8794, allocations: 0.9223 MB / 1.275 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8795, allocations: 5.094 kB / 1.275 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.8806, allocations: 0.5847 MB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.8817, allocations: 295.7 kB / 1.276 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.8932, allocations: 6.826 MB / 1.282 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.8938, allocations: 1.047 MB / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008426/0.8946, allocations: 296.7 kB / 1.284 GB, free: 162 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.8951, allocations: 419.6 kB / 1.284 GB, free: 161.7 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.8951, allocations: 0 / 1.284 GB, free: 161.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1974/1.093, allocations: 22.24 MB / 1.306 GB, free: 154 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.81, allocations: 3.859 kB / 1.306 GB, free: 154 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)