Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001025/0.001025, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.0009594/0.0009594, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.236/1.236, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6705/0.6705, allocations: 115.3 MB / 406.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 67.89 kB / 493.2 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2686, allocations: 76.16 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004641/0.2733, allocations: 4.842 MB / 0.5608 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1361/0.4094, allocations: 148.4 MB / 0.7056 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.4103, allocations: 19.88 kB / 0.7057 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.411, allocations: 150.8 kB / 0.7058 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.4128, allocations: 484.1 kB / 0.7063 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.4147, allocations: 0.744 MB / 0.707 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4162, allocations: 1.378 MB / 0.7083 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.417, allocations: 0.5754 MB / 0.7089 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.4176, allocations: 474.3 kB / 0.7094 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.4182, allocations: 0.5017 MB / 0.7098 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.4184, allocations: 116 kB / 0.71 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.4192, allocations: 467.6 kB / 0.7104 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.4194, allocations: 295 kB / 0.7107 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.4199, allocations: 0.5558 MB / 0.7112 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.4215, allocations: 1.593 MB / 0.7128 GB, free: 3.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4215, allocations: 0 / 0.7128 GB, free: 3.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4215, allocations: 0 / 0.7128 GB, free: 3.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4215, allocations: 0 / 0.7128 GB, free: 3.539 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002216/0.4238, allocations: 1.422 MB / 0.7142 GB, free: 2.066 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4238, allocations: 11.97 kB / 0.7142 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.4239, allocations: 139.4 kB / 0.7143 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.4248, allocations: 183.4 kB / 0.7145 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.4257, allocations: 0.7381 MB / 0.7152 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.4258, allocations: 62 kB / 0.7153 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4259, allocations: 80 kB / 0.7153 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4273, allocations: 0.9199 MB / 0.7162 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.4274, allocations: 4 kB / 0.7162 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.4274, allocations: 32 kB / 0.7163 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4275, allocations: 20 kB / 0.7163 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.4291, allocations: 1.104 MB / 0.7174 GB, free: 14.69 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.003531/0.4326, allocations: 2.697 MB / 0.72 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.434, allocations: 0.8096 MB / 0.7208 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.4345, allocations: 298.7 kB / 0.7211 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.4346, allocations: 28.69 kB / 0.7211 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008278/0.4354, allocations: 495.1 kB / 0.7216 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.023e-06/0.4354, allocations: 0 / 0.7216 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.002969/0.4384, allocations: 1.198 MB / 0.7228 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.4385, allocations: 188.6 kB / 0.7229 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.4392, allocations: 0.6293 MB / 0.7235 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.4393, allocations: 41.7 kB / 0.7236 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.4395, allocations: 400.3 kB / 0.724 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4397, allocations: 256.3 kB / 0.7242 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.4399, allocations: 150.5 kB / 0.7244 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4401, allocations: 390.6 kB / 0.7247 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.4405, allocations: 249.9 kB / 0.725 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.4411, allocations: 354.6 kB / 0.7253 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.4421, allocations: 0.5799 MB / 0.7259 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4421, allocations: 4 kB / 0.7259 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001747/0.4438, allocations: 0.8097 MB / 0.7267 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4439, allocations: 4 kB / 0.7267 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4439, allocations: 0 / 0.7267 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/0.4445, allocations: 88.77 kB / 0.7268 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.4451, allocations: 147.8 kB / 0.7269 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.4471, allocations: 1.642 MB / 0.7285 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.4477, allocations: 87.31 kB / 0.7286 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.4478, allocations: 32.05 kB / 0.7286 GB, free: 2.723 MB / 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 (87): * Single equations (assignments): 86 * 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.0003302/0.4481, allocations: 265.6 kB / 0.7289 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4483, allocations: 82.97 kB / 0.7289 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.4505, allocations: 1.062 MB / 0.73 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4505, allocations: 8 kB / 0.73 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4505, allocations: 7.938 kB / 0.73 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4505, allocations: 3.984 kB / 0.73 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.4515, allocations: 0.8879 MB / 0.7309 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4515, allocations: 0 / 0.7309 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.452, allocations: 147.8 kB / 0.731 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.4525, allocations: 68.78 kB / 0.7311 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.4525, allocations: 23.98 kB / 0.7311 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.4543, allocations: 1.662 MB / 0.7327 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4543, allocations: 3.938 kB / 0.7327 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4562, allocations: 0.9278 MB / 0.7336 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.4565, allocations: 271.7 kB / 0.7339 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4566, allocations: 16.06 kB / 0.7339 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.4572, allocations: 69.8 kB / 0.734 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.4574, allocations: 76.78 kB / 0.734 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.4575, allocations: 39.97 kB / 0.7341 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004947/0.458, allocations: 459 kB / 0.7345 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.458, allocations: 0 / 0.7345 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007219/0.4587, allocations: 315.3 kB / 0.7348 GB, free: 12.1 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.003238/0.4619, allocations: 1.979 MB / 0.7368 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.4641, allocations: 0.9952 MB / 0.7377 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4641, allocations: 192 / 0.7377 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.465, allocations: 0.5158 MB / 0.7382 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.466, allocations: 305.2 kB / 0.7385 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4766, allocations: 6.727 MB / 0.7451 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.4772, allocations: 1.024 MB / 0.7461 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007861/0.478, allocations: 266.7 kB / 0.7463 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1827/0.6607, allocations: 375.3 kB / 0.7467 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.6607, allocations: 0 / 0.7467 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4352/1.096, allocations: 21.05 MB / 0.7673 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.096, allocations: 316.9 kB / 0.7676 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.428, allocations: 7.125 kB / 0.7676 GB, free: 167.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)