Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_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.002119/0.002119, 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.001874/0.001874, allocations: 191.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 2.585/2.585, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.388/4.388, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002855, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379/1.382, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.0133/1.395, allocations: 4.508 MB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3074/1.702, allocations: 148.5 MB / 1.099 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/1.704, allocations: 15.94 kB / 1.099 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/1.705, allocations: 138.9 kB / 1.099 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/1.709, allocations: 470.8 kB / 1.099 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004206/1.713, allocations: 0.7898 MB / 1.1 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003133/1.716, allocations: 1.382 MB / 1.101 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/1.718, allocations: 0.6332 MB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/1.72, allocations: 0.5099 MB / 1.102 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/1.721, allocations: 0.5297 MB / 1.103 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005727/1.722, allocations: 124 kB / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/1.724, allocations: 487.7 kB / 1.104 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007462/1.725, allocations: 314.9 kB / 1.104 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/1.727, allocations: 0.5752 MB / 1.104 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/1.731, allocations: 1.651 MB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/1.731, allocations: 0 / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.906e-06/1.731, allocations: 0 / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.46e-05/1.732, allocations: 4 kB / 1.106 GB, free: 0.8906 MB / 0.8575 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.006899/1.738, allocations: 1.495 MB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/1.739, allocations: 8.031 kB / 1.108 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005023/1.739, allocations: 139.8 kB / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/1.741, allocations: 191.3 kB / 1.108 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/1.744, allocations: 0.7661 MB / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/1.744, allocations: 69.98 kB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/1.744, allocations: 87.94 kB / 1.109 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/1.747, allocations: 0.973 MB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/1.748, allocations: 0 / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.748, allocations: 40 kB / 1.11 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/1.748, allocations: 20 kB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/1.751, allocations: 1.163 MB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008747/1.76, allocations: 2.699 MB / 1.113 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/1.764, allocations: 0.9771 MB / 1.114 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.765, allocations: 338.6 kB / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/1.765, allocations: 38.73 kB / 1.115 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/1.767, allocations: 0.5353 MB / 1.115 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 9.518e-06/1.767, allocations: 0 / 1.115 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.005605/1.773, allocations: 1.294 MB / 1.117 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000226/1.773, allocations: 196.9 kB / 1.117 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.775, allocations: 0.6528 MB / 1.117 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.775, allocations: 45.7 kB / 1.117 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/1.775, allocations: 404.5 kB / 1.118 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/1.776, allocations: 279.9 kB / 1.118 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005534/1.777, allocations: 166.5 kB / 1.118 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003235/1.777, allocations: 386.8 kB / 1.119 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/1.778, allocations: 269.8 kB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.779, allocations: 386.5 kB / 1.119 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/1.781, allocations: 0.632 MB / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.781, allocations: 0 / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003569/1.785, allocations: 0.8682 MB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/1.785, allocations: 4 kB / 1.121 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.785, allocations: 0 / 1.121 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/1.786, allocations: 84.77 kB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.787, allocations: 167.8 kB / 1.121 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/1.791, allocations: 1.622 MB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.792, allocations: 103.3 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/1.793, allocations: 35.97 kB / 1.123 GB, free: 15.25 MB / 0.8887 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.001322/1.794, allocations: 275.5 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/1.795, allocations: 86.88 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/1.799, allocations: 1.195 MB / 1.124 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.799, allocations: 12 kB / 1.124 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.8, allocations: 4 kB / 1.124 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/1.8, allocations: 3.984 kB / 1.124 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/1.807, allocations: 2.107 MB / 1.126 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.807, allocations: 0 / 1.126 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.808, allocations: 167.7 kB / 1.126 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/1.809, allocations: 76.78 kB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.809, allocations: 27.98 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/1.813, allocations: 1.662 MB / 1.128 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.813, allocations: 0 / 1.128 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/1.817, allocations: 1.093 MB / 1.129 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.818, allocations: 295.6 kB / 1.13 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/1.819, allocations: 16 kB / 1.13 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.821, allocations: 71.92 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/1.821, allocations: 84.81 kB / 1.13 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.821, allocations: 39.98 kB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001586/1.823, allocations: 475 kB / 1.13 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/1.823, allocations: 0 / 1.13 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002079/1.825, allocations: 335.2 kB / 1.13 GB, free: 7 MB / 0.8887 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.00767/1.833, allocations: 2.16 MB / 1.133 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004772/1.837, allocations: 1.101 MB / 1.134 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.837, allocations: 4 kB / 1.134 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.839, allocations: 0.5668 MB / 1.134 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/1.842, allocations: 303 kB / 1.135 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.87, allocations: 7.336 MB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/1.871, allocations: 1.04 MB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00182/1.873, allocations: 275.1 kB / 1.143 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.874, allocations: 411.3 kB / 1.143 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of SimCode: time 1.152e-06/1.874, allocations: 0 / 1.143 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/1.954, allocations: 22.1 MB / 1.165 GB, free: 4.047 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004091/1.954, allocations: 319.6 kB / 1.165 GB, free: 3.66 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.677/6.632, allocations: 3.375 kB / 1.165 GB, free: 3.66 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)