Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_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.001224/0.001224, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0012/0.0012, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.186/1.186, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.206/2.206, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4783, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005791/0.4841, allocations: 5.025 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1313/0.6154, allocations: 148.5 MB / 1.167 GB, free: 8.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.6162, allocations: 15.94 kB / 1.167 GB, free: 8.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.6168, allocations: 158.8 kB / 1.167 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.6185, allocations: 0.4973 MB / 1.168 GB, free: 7.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6202, allocations: 0.7877 MB / 1.168 GB, free: 7.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.6216, allocations: 1.46 MB / 1.17 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/0.6224, allocations: 0.6023 MB / 1.17 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.6231, allocations: 0.5099 MB / 1.171 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.6236, allocations: 0.5484 MB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.6238, allocations: 120 kB / 1.171 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007279/0.6246, allocations: 487.6 kB / 1.172 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.6248, allocations: 314.9 kB / 1.172 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.6253, allocations: 0.5947 MB / 1.173 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.6268, allocations: 1.675 MB / 1.174 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.6268, allocations: 0 / 1.174 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6268, allocations: 0 / 1.174 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.6268, allocations: 0 / 1.174 GB, free: 0.8398 MB / 0.92 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.002281/0.6291, allocations: 1.514 MB / 1.176 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.6291, allocations: 8.031 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.6293, allocations: 147.8 kB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/0.6301, allocations: 187.3 kB / 1.176 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.631, allocations: 0.7661 MB / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.631, allocations: 69.98 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6312, allocations: 92 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.6326, allocations: 0.9846 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.6326, allocations: 0 / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/0.6327, allocations: 36 kB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.6327, allocations: 20 kB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.6344, allocations: 1.163 MB / 1.179 GB, free: 11.71 MB / 0.9356 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.003722/0.6381, allocations: 2.907 MB / 1.182 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.64, allocations: 0.9887 MB / 1.183 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.6405, allocations: 326.7 kB / 1.183 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/0.6406, allocations: 30.75 kB / 1.183 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008471/0.6414, allocations: 0.5276 MB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 1.913e-06/0.6414, allocations: 0 / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.002983/0.6444, allocations: 1.309 MB / 1.185 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.6445, allocations: 188.9 kB / 1.185 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.6452, allocations: 0.649 MB / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.6452, allocations: 41.7 kB / 1.186 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.6455, allocations: 408.5 kB / 1.186 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.6457, allocations: 287.8 kB / 1.187 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.6459, allocations: 162.5 kB / 1.187 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.646, allocations: 390.8 kB / 1.187 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.6465, allocations: 269.8 kB / 1.188 GB, free: 3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.6471, allocations: 386.5 kB / 1.188 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6482, allocations: 0.6281 MB / 1.188 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6482, allocations: 0 / 1.188 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00178/0.65, allocations: 0.8644 MB / 1.189 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.65, allocations: 8 kB / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.65, allocations: 0 / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.6506, allocations: 88.8 kB / 1.189 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.6512, allocations: 171.8 kB / 1.19 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.653, allocations: 1.637 MB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.6537, allocations: 99.22 kB / 1.191 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.6538, allocations: 35.97 kB / 1.191 GB, free: 14.9 MB / 0.9512 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.000329/0.6541, allocations: 271.4 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6543, allocations: 86.97 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.6567, allocations: 1.207 MB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6567, allocations: 8 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.6567, allocations: 8 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6567, allocations: 7.969 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.6597, allocations: 2.109 MB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6597, allocations: 0 / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.6603, allocations: 163.8 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.6607, allocations: 68.8 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.6608, allocations: 35.97 kB / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.6624, allocations: 1.658 MB / 1.197 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6625, allocations: 0 / 1.197 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.6644, allocations: 1.09 MB / 1.198 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.6647, allocations: 291.5 kB / 1.198 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6648, allocations: 27.98 kB / 1.198 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.6655, allocations: 70.17 kB / 1.198 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.6657, allocations: 84.83 kB / 1.198 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.6657, allocations: 39.97 kB / 1.198 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004717/0.6662, allocations: 471 kB / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6662, allocations: 0 / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007431/0.667, allocations: 351.2 kB / 1.199 GB, free: 6.625 MB / 0.9512 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.003258/0.6702, allocations: 2.157 MB / 1.201 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.6725, allocations: 1.112 MB / 1.202 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6725, allocations: 0 / 1.202 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.6734, allocations: 0.5587 MB / 1.203 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6745, allocations: 314.3 kB / 1.203 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.685, allocations: 7.215 MB / 1.21 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.6855, allocations: 1.051 MB / 1.211 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007998/0.6863, allocations: 287 kB / 1.212 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.6868, allocations: 415.3 kB / 1.212 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of SimCode: time 5e-07/0.6868, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4893/1.176, allocations: 22.47 MB / 1.234 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.176, allocations: 314.3 kB / 1.234 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.708, allocations: 2.531 kB / 1.234 GB, free: 3.039 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)