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.001501/0.001501, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.252/2.252, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.8693 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4825, allocations: 151.6 MB / 1.017 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005607/0.4881, allocations: 5.022 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1294/0.6175, allocations: 150.7 MB / 1.169 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.6182, allocations: 19.88 kB / 1.17 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.6187, allocations: 194.2 kB / 1.17 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.6203, allocations: 0.5706 MB / 1.17 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.622, allocations: 0.883 MB / 1.171 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.6232, allocations: 1.444 MB / 1.173 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.624, allocations: 0.6101 MB / 1.173 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.6247, allocations: 0.5062 MB / 1.174 GB, free: 1.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.6253, allocations: 0.5383 MB / 1.174 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.6255, allocations: 124 kB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.6263, allocations: 491.6 kB / 1.175 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.6266, allocations: 319 kB / 1.175 GB, free: 360 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.6271, allocations: 0.5985 MB / 1.176 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.6287, allocations: 1.679 MB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6287, allocations: 0 / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6287, allocations: 0 / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.6287, allocations: 0 / 1.177 GB, free: 14.07 MB / 0.9356 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.002544/0.6313, allocations: 1.499 MB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.6313, allocations: 12.03 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.6315, allocations: 143.8 kB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.6323, allocations: 195.3 kB / 1.179 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.6333, allocations: 0.7622 MB / 1.18 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.6334, allocations: 74 kB / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/0.6335, allocations: 84 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.6349, allocations: 0.9769 MB / 1.181 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6349, allocations: 3.938 kB / 1.181 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.635, allocations: 36 kB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.635, allocations: 24 kB / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.6367, allocations: 1.155 MB / 1.182 GB, free: 8.961 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.00381/0.6405, allocations: 2.917 MB / 1.185 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.6424, allocations: 0.9771 MB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.6429, allocations: 330.7 kB / 1.186 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.73e-05/0.643, allocations: 38.73 kB / 1.186 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.6439, allocations: 0.5354 MB / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 1.943e-06/0.6439, allocations: 0 / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003038/0.6469, allocations: 1.302 MB / 1.188 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.647, allocations: 188.9 kB / 1.188 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.6478, allocations: 0.649 MB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.6479, allocations: 49.7 kB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.6481, allocations: 400.5 kB / 1.189 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6484, allocations: 287.8 kB / 1.19 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.6486, allocations: 162.5 kB / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6487, allocations: 394.7 kB / 1.19 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.6493, allocations: 265.9 kB / 1.19 GB, free: 248 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.6499, allocations: 390.5 kB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.651, allocations: 0.6281 MB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.651, allocations: 0 / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001781/0.6528, allocations: 0.8682 MB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6528, allocations: 4.094 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6528, allocations: 4 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.6534, allocations: 80.78 kB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.654, allocations: 175.8 kB / 1.192 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.6559, allocations: 1.636 MB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.6565, allocations: 103.2 kB / 1.194 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.6566, allocations: 35.97 kB / 1.194 GB, free: 12.14 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.0003127/0.6569, allocations: 267.5 kB / 1.194 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6571, allocations: 90.95 kB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.6595, allocations: 1.203 MB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6595, allocations: 12 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6595, allocations: 0 / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6595, allocations: 7.984 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.6626, allocations: 2.101 MB / 1.198 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6626, allocations: 4 kB / 1.198 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.6632, allocations: 167.7 kB / 1.198 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004042/0.6636, allocations: 76.78 kB / 1.198 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.6637, allocations: 27.98 kB / 1.198 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.6654, allocations: 1.654 MB / 1.2 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6654, allocations: 0 / 1.2 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.6673, allocations: 1.09 MB / 1.201 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.6676, allocations: 295.5 kB / 1.201 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.6678, allocations: 24 kB / 1.201 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.6684, allocations: 69.33 kB / 1.201 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6686, allocations: 84.83 kB / 1.201 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.6687, allocations: 39.97 kB / 1.201 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005124/0.6692, allocations: 479 kB / 1.202 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.392e-06/0.6692, allocations: 0 / 1.202 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007775/0.67, allocations: 339.1 kB / 1.202 GB, free: 3.875 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.003239/0.6732, allocations: 2.163 MB / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.6755, allocations: 1.105 MB / 1.205 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6755, allocations: 0 / 1.205 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.6764, allocations: 0.5626 MB / 1.206 GB, free: 184 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6776, allocations: 307.9 kB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009205/0.6868, allocations: 6.813 MB / 1.213 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.6873, allocations: 1.044 MB / 1.214 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000751/0.6881, allocations: 283.1 kB / 1.214 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/0.6886, allocations: 407.3 kB / 1.214 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.6886, allocations: 4 kB / 1.214 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/1.816, allocations: 22.69 MB / 1.236 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/12.2, allocations: 3.781 kB / 1.237 GB, free: 0.8438 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)