Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001417/0.001417, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001375/0.001375, allocations: 194.7 kB / 16.26 MB, free: 6.625 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.424/2.424, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 61.73 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2445, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005928/0.2505, allocations: 4.964 MB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.3854, allocations: 148.4 MB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008018/0.3862, allocations: 19.88 kB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.3869, allocations: 150.8 kB / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.3886, allocations: 0.4934 MB / 1.203 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.3905, allocations: 0.7614 MB / 1.204 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.392, allocations: 1.429 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008509/0.3928, allocations: 0.5911 MB / 1.206 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006732/0.3935, allocations: 0.4983 MB / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.3942, allocations: 0.5173 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.3944, allocations: 120 kB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007825/0.3952, allocations: 467.6 kB / 1.207 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.3955, allocations: 303 kB / 1.207 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.396, allocations: 0.583 MB / 1.208 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.3978, allocations: 1.636 MB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3978, allocations: 4 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3978, allocations: 4 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.473e-05/0.3979, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002799/0.4007, allocations: 1.464 MB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4007, allocations: 12.62 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.4009, allocations: 135.6 kB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/0.4018, allocations: 191.4 kB / 1.211 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4028, allocations: 0.7583 MB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.4029, allocations: 62 kB / 1.212 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.403, allocations: 84 kB / 1.212 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.4045, allocations: 0.9457 MB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.4046, allocations: 0 / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.4047, allocations: 39.98 kB / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.4047, allocations: 24 kB / 1.213 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.4064, allocations: 1.128 MB / 1.214 GB, free: 2.168 MB / 0.9669 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.003851/0.4102, allocations: 2.759 MB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.4117, allocations: 0.9121 MB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.4122, allocations: 318.7 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.4123, allocations: 32.61 kB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/0.4132, allocations: 0.5197 MB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.888e-06/0.4132, allocations: 3.938 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003101/0.4163, allocations: 1.255 MB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.4164, allocations: 200.8 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.4171, allocations: 0.6333 MB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.4172, allocations: 45.7 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.4175, allocations: 400.4 kB / 1.221 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.4177, allocations: 280 kB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.4179, allocations: 154.5 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4181, allocations: 394.7 kB / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.4185, allocations: 253.9 kB / 1.222 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.4191, allocations: 379.4 kB / 1.223 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4202, allocations: 0.6133 MB / 1.223 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4202, allocations: 0 / 1.223 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001817/0.422, allocations: 0.8409 MB / 1.224 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.422, allocations: 9.344 kB / 1.224 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.422, allocations: 0 / 1.224 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.4226, allocations: 80.91 kB / 1.224 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.4233, allocations: 167.7 kB / 1.224 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.4253, allocations: 1.637 MB / 1.226 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.426, allocations: 95.38 kB / 1.226 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.426, allocations: 31.92 kB / 1.226 GB, free: 5.734 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.0003655/0.4264, allocations: 271.1 kB / 1.226 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.4266, allocations: 82.97 kB / 1.226 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.429, allocations: 1.152 MB / 1.227 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.429, allocations: 12 kB / 1.227 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.429, allocations: 0 / 1.227 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.4291, allocations: 3.984 kB / 1.227 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.4321, allocations: 2.025 MB / 1.229 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4321, allocations: 0 / 1.229 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.4327, allocations: 155.7 kB / 1.23 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.4332, allocations: 72.78 kB / 1.23 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.4333, allocations: 27.98 kB / 1.23 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.435, allocations: 1.658 MB / 1.231 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.435, allocations: 3.984 kB / 1.231 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.4369, allocations: 1.058 MB / 1.232 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.4373, allocations: 279.6 kB / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.4374, allocations: 24.06 kB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.4381, allocations: 68.06 kB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.4383, allocations: 84.88 kB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.4384, allocations: 39.97 kB / 1.233 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005066/0.4389, allocations: 463 kB / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4389, allocations: 0 / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008194/0.4398, allocations: 339.1 kB / 1.234 GB, free: 13.69 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: 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 (100): * Single equations (assignments): 93 * 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.003378/0.4431, allocations: 2.099 MB / 1.236 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.4455, allocations: 1.058 MB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4455, allocations: 4 kB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/0.4464, allocations: 0.5432 MB / 1.237 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4476, allocations: 301.3 kB / 1.237 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.4588, allocations: 7.044 MB / 1.244 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.4593, allocations: 1.037 MB / 1.245 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000831/0.4602, allocations: 274.8 kB / 1.246 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.4607, allocations: 399.3 kB / 1.246 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.4607, allocations: 4 kB / 1.246 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/1.63, allocations: 21.82 MB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005508/1.631, allocations: 313.4 kB / 1.268 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.607/6.238, allocations: 1.547 kB / 1.268 GB, free: 189.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)