Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.004688/0.004688, allocations: 100.3 kB / 15.87 MB, free: 6.32 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.001113/0.001113, allocations: 195.3 kB / 16.79 MB, free: 6.246 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.161/1.161, allocations: 222.9 MB / 240.5 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6376/0.6376, allocations: 115.3 MB / 405.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 493 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2685, allocations: 76.17 MB / 0.5558 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004559/0.2731, allocations: 4.991 MB / 0.5607 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.126/0.3991, allocations: 148.4 MB / 0.7057 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008118/0.4, allocations: 15.94 kB / 0.7057 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.4005, allocations: 150.8 kB / 0.7058 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.4018, allocations: 488.5 kB / 0.7063 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.4035, allocations: 0.7625 MB / 0.707 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009902/0.4045, allocations: 1.366 MB / 0.7084 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006832/0.4052, allocations: 0.5863 MB / 0.7089 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.4056, allocations: 454.2 kB / 0.7094 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.4061, allocations: 0.5171 MB / 0.7099 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.4062, allocations: 60 kB / 0.7099 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.4068, allocations: 419.7 kB / 0.7103 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.4071, allocations: 258.9 kB / 0.7106 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.4075, allocations: 0.5283 MB / 0.7111 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4087, allocations: 1.62 MB / 0.7127 GB, free: 3.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4087, allocations: 3.984 kB / 0.7127 GB, free: 3.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4087, allocations: 0 / 0.7127 GB, free: 3.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4087, allocations: 0 / 0.7127 GB, free: 3.52 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002315/0.4111, allocations: 1.506 MB / 0.7141 GB, free: 1.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4111, allocations: 11.97 kB / 0.7142 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.4112, allocations: 143.8 kB / 0.7143 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.4121, allocations: 191.3 kB / 0.7145 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.4129, allocations: 0.7623 MB / 0.7152 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.413, allocations: 66 kB / 0.7153 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.4131, allocations: 88 kB / 0.7154 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.4145, allocations: 0.9846 MB / 0.7163 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4146, allocations: 0 / 0.7163 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.4147, allocations: 39.98 kB / 0.7164 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.4147, allocations: 24 kB / 0.7164 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.4163, allocations: 1.159 MB / 0.7175 GB, free: 14.41 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.003614/0.4199, allocations: 2.911 MB / 0.7204 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.4218, allocations: 0.9926 MB / 0.7213 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.4223, allocations: 326.7 kB / 0.7216 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.4224, allocations: 34.75 kB / 0.7217 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008448/0.4233, allocations: 0.5275 MB / 0.7222 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 1.913e-06/0.4233, allocations: 0 / 0.7222 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002935/0.4262, allocations: 1.306 MB / 0.7235 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.4263, allocations: 188.9 kB / 0.7237 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.427, allocations: 0.649 MB / 0.7243 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.427, allocations: 41.7 kB / 0.7243 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.4273, allocations: 420.4 kB / 0.7247 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.4275, allocations: 279.9 kB / 0.725 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.4277, allocations: 166.5 kB / 0.7252 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4278, allocations: 382.8 kB / 0.7255 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.4283, allocations: 273.8 kB / 0.7258 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.4289, allocations: 390.5 kB / 0.7261 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4299, allocations: 0.6281 MB / 0.7268 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.43, allocations: 0 / 0.7268 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00177/0.4317, allocations: 0.8643 MB / 0.7276 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4318, allocations: 8 kB / 0.7276 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4318, allocations: 0 / 0.7276 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.4323, allocations: 84.83 kB / 0.7277 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.433, allocations: 171.7 kB / 0.7279 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.4347, allocations: 1.516 MB / 0.7293 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.4353, allocations: 107.2 kB / 0.7294 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.4354, allocations: 31.98 kB / 0.7295 GB, free: 1.711 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: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000317/0.4357, allocations: 283.3 kB / 0.7297 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.4359, allocations: 86.91 kB / 0.7298 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.4382, allocations: 1.199 MB / 0.731 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4383, allocations: 12 kB / 0.731 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4383, allocations: 0 / 0.731 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4383, allocations: 3.984 kB / 0.731 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.4412, allocations: 2.105 MB / 0.7331 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4413, allocations: 3.984 kB / 0.7331 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.4419, allocations: 163.8 kB / 0.7332 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.4423, allocations: 84.77 kB / 0.7333 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.4424, allocations: 27.97 kB / 0.7333 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.444, allocations: 1.548 MB / 0.7348 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.444, allocations: 0 / 0.7348 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.4459, allocations: 1.09 MB / 0.7359 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.4462, allocations: 291.6 kB / 0.7362 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4463, allocations: 19.98 kB / 0.7362 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.447, allocations: 74.11 kB / 0.7363 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.4471, allocations: 88.97 kB / 0.7364 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.4472, allocations: 35.97 kB / 0.7364 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004843/0.4477, allocations: 479 kB / 0.7369 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4477, allocations: 0 / 0.7369 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006906/0.4484, allocations: 343.1 kB / 0.7372 GB, free: 9.551 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003178/0.4516, allocations: 2.159 MB / 0.7393 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.453, allocations: 0.8585 MB / 0.7401 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.453, allocations: 4 kB / 0.7401 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008634/0.4539, allocations: 0.559 MB / 0.7407 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.455, allocations: 295.7 kB / 0.741 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1832/0.6381, allocations: 7.208 MB / 0.748 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.6387, allocations: 1.051 MB / 0.749 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009124/0.6396, allocations: 276 kB / 0.7493 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.6402, allocations: 411 kB / 0.7497 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.6402, allocations: 0.75 kB / 0.7497 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5958/1.236, allocations: 21.83 MB / 0.771 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.236, allocations: 313.3 kB / 0.7713 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.475, allocations: 2.391 kB / 0.7713 GB, free: 165.4 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)