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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001015/0.001015, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007488/0.007488, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.178/1.178, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.248/2.248, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002883, allocations: 12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4824, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004522/0.487, allocations: 4.593 MB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.6145, allocations: 146.8 MB / 1.171 GB, free: 7.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.6151, allocations: 15.94 kB / 1.171 GB, free: 7.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.6156, allocations: 150.8 kB / 1.171 GB, free: 7.672 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.6169, allocations: 488.8 kB / 1.172 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.6185, allocations: 0.779 MB / 1.172 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.6197, allocations: 1.362 MB / 1.174 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.6205, allocations: 0.5747 MB / 1.174 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.621, allocations: 378.2 kB / 1.175 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.6215, allocations: 421.8 kB / 1.175 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.6216, allocations: 32 kB / 1.175 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.6223, allocations: 391.6 kB / 1.175 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.6225, allocations: 199.1 kB / 1.176 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.6229, allocations: 0.4987 MB / 1.176 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.6241, allocations: 1.573 MB / 1.178 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6241, allocations: 0 / 1.178 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6241, allocations: 0 / 1.178 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.6242, allocations: 0 / 1.178 GB, free: 0.9844 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.002097/0.6263, allocations: 1.285 MB / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6263, allocations: 12.02 kB / 1.179 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.6265, allocations: 143.8 kB / 1.179 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.6273, allocations: 203.3 kB / 1.179 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.6282, allocations: 0.7661 MB / 1.18 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.6282, allocations: 70 kB / 1.18 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6284, allocations: 87.98 kB / 1.18 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.6298, allocations: 0.9769 MB / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6298, allocations: 0 / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.6299, allocations: 36 kB / 1.181 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.6299, allocations: 24 kB / 1.181 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.6316, allocations: 1.167 MB / 1.182 GB, free: 12.07 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.003761/0.6354, allocations: 2.948 MB / 1.185 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.6373, allocations: 0.9849 MB / 1.186 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.6378, allocations: 334.7 kB / 1.186 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/0.6379, allocations: 38.73 kB / 1.187 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/0.6387, allocations: 0.5431 MB / 1.187 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 1.763e-06/0.6387, allocations: 0 / 1.187 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.002966/0.6417, allocations: 1.317 MB / 1.188 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.6418, allocations: 188.9 kB / 1.188 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.6425, allocations: 0.6528 MB / 1.189 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.6425, allocations: 45.7 kB / 1.189 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.6428, allocations: 408.5 kB / 1.19 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.643, allocations: 287.8 kB / 1.19 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.6431, allocations: 65.69 kB / 1.19 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6432, allocations: 386.7 kB / 1.19 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.6438, allocations: 273.9 kB / 1.191 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.6443, allocations: 394.5 kB / 1.191 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6454, allocations: 0.6359 MB / 1.192 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6454, allocations: 0 / 1.192 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001781/0.6472, allocations: 0.8682 MB / 1.192 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6472, allocations: 8.094 kB / 1.192 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6472, allocations: 7.984 kB / 1.192 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.6478, allocations: 80.78 kB / 1.192 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.6484, allocations: 167.8 kB / 1.193 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.6502, allocations: 1.532 MB / 1.194 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.6509, allocations: 119.2 kB / 1.194 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.6509, allocations: 35.97 kB / 1.194 GB, free: 15.35 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.0003335/0.6513, allocations: 271.4 kB / 1.195 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.6514, allocations: 86.97 kB / 1.195 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.6538, allocations: 1.21 MB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6538, allocations: 8 kB / 1.196 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6538, allocations: 0 / 1.196 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6538, allocations: 11.97 kB / 1.196 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.6569, allocations: 2.113 MB / 1.198 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6569, allocations: 0 / 1.198 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.6575, allocations: 175.7 kB / 1.198 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/0.658, allocations: 80.78 kB / 1.198 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.6581, allocations: 31.97 kB / 1.198 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.6597, allocations: 1.544 MB / 1.2 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6597, allocations: 0 / 1.2 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.6616, allocations: 1.105 MB / 1.201 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.662, allocations: 307.5 kB / 1.201 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6621, allocations: 20 kB / 1.201 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.6628, allocations: 93.36 kB / 1.201 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6629, allocations: 80.88 kB / 1.201 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.663, allocations: 44.11 kB / 1.201 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004982/0.6635, allocations: 467 kB / 1.202 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6635, allocations: 8 kB / 1.202 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007096/0.6643, allocations: 347.2 kB / 1.202 GB, free: 7.125 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.00327/0.6675, allocations: 2.178 MB / 1.204 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.669, allocations: 0.8743 MB / 1.205 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6691, allocations: 0 / 1.205 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008873/0.6699, allocations: 0.5666 MB / 1.206 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6711, allocations: 283.9 kB / 1.206 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.6817, allocations: 7.263 MB / 1.213 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.6822, allocations: 1.052 MB / 1.214 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007635/0.683, allocations: 271.1 kB / 1.214 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.6835, allocations: 411.2 kB / 1.215 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.6836, allocations: 0 / 1.215 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/0.741, allocations: 21.55 MB / 1.236 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.7413, allocations: 309.2 kB / 1.236 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.91, allocations: 0 / 1.236 GB, free: 4.676 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)