Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_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.001631/0.001631, 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.001785/0.001785, allocations: 192.8 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 64.64 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2552, allocations: 159.2 MB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006925/0.2621, allocations: 5.157 MB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1621/0.4242, allocations: 150.7 MB / 1.216 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007185/0.425, allocations: 15.94 kB / 1.216 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.4256, allocations: 198.1 kB / 1.217 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.4273, allocations: 0.5669 MB / 1.217 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.4292, allocations: 0.857 MB / 1.218 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.4305, allocations: 1.448 MB / 1.219 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008607/0.4314, allocations: 0.656 MB / 1.22 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.432, allocations: 0.5139 MB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.4326, allocations: 0.5445 MB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.4328, allocations: 124 kB / 1.221 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007705/0.4335, allocations: 499.6 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.4338, allocations: 315 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.4344, allocations: 0.6102 MB / 1.222 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.4361, allocations: 1.706 MB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4361, allocations: 4 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4361, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4361, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 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.002459/0.4386, allocations: 1.512 MB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4386, allocations: 12.03 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.4388, allocations: 148.2 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.4399, allocations: 219.2 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.4409, allocations: 0.7575 MB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.441, allocations: 70 kB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.4411, allocations: 91.98 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.4428, allocations: 1.024 MB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4428, allocations: 4 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.4429, allocations: 44 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.4429, allocations: 24 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4449, allocations: 1.171 MB / 1.229 GB, free: 4.355 MB / 0.9825 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.004151/0.449, allocations: 2.974 MB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.4508, allocations: 0.9128 MB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.4514, allocations: 318.7 kB / 1.233 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/0.452, allocations: 470.2 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/0.453, allocations: 0.5069 MB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 1.983e-06/0.453, allocations: 0 / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003248/0.4562, allocations: 1.233 MB / 1.235 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4564, allocations: 188.6 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/0.4572, allocations: 0.645 MB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.4572, allocations: 37.7 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.4576, allocations: 428.2 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.4579, allocations: 272.2 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.4581, allocations: 146.5 kB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4583, allocations: 390.7 kB / 1.237 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.4589, allocations: 253.9 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.4595, allocations: 374.5 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.4607, allocations: 0.6033 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4607, allocations: 0 / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001944/0.4626, allocations: 0.833 MB / 1.239 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4627, allocations: 4 kB / 1.239 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4627, allocations: 4 kB / 1.239 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.4632, allocations: 88.8 kB / 1.239 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.4639, allocations: 151.8 kB / 1.24 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.466, allocations: 1.626 MB / 1.241 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.4666, allocations: 100.1 kB / 1.241 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.4667, allocations: 31.92 kB / 1.241 GB, free: 7.262 MB / 0.9981 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.0003665/0.4671, allocations: 278.2 kB / 1.242 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.4672, allocations: 82.97 kB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.4697, allocations: 1.097 MB / 1.243 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4698, allocations: 12 kB / 1.243 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.4698, allocations: 0 / 1.243 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4698, allocations: 3.984 kB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.4731, allocations: 2.008 MB / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4731, allocations: 0 / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.4737, allocations: 147.8 kB / 1.245 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.4741, allocations: 76.78 kB / 1.245 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.4742, allocations: 27.97 kB / 1.245 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.4761, allocations: 1.662 MB / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4761, allocations: 0 / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.4782, allocations: 1.023 MB / 1.248 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.4785, allocations: 283.7 kB / 1.248 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4787, allocations: 16 kB / 1.248 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.4793, allocations: 61.34 kB / 1.248 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.4795, allocations: 76.83 kB / 1.248 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.4796, allocations: 35.97 kB / 1.248 GB, free: 124 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4073/0.8869, allocations: 468 kB / 1.248 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8869, allocations: 4.562 kB / 1.248 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001044/0.888, allocations: 349.2 kB / 1.249 GB, free: 185.8 MB / 0.9981 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.003861/0.8919, allocations: 2.081 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.8941, allocations: 1.03 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8942, allocations: 0.9688 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.8951, allocations: 0.5343 MB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.8962, allocations: 303.8 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/0.9045, allocations: 6.665 MB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.9048, allocations: 1.044 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007454/0.9056, allocations: 275.9 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.906, allocations: 409.4 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.5e-07/0.906, allocations: 0 / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.111/3.017, allocations: 22.21 MB / 1.283 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.99/23.01, allocations: 1.844 kB / 1.283 GB, free: 175.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)