Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001071/0.001071, allocations: 194 kB / 16.14 MB, free: 6.711 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 275.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9288/0.9288, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 94.36 kB / 0.5945 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1404, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005619/0.1461, allocations: 4.497 MB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4345/0.5806, allocations: 148.4 MB / 0.8287 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007562/0.5814, allocations: 14.81 kB / 0.8287 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.5821, allocations: 142.6 kB / 0.8289 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.5837, allocations: 456 kB / 0.8293 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.5855, allocations: 0.7574 MB / 0.83 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.5869, allocations: 1.295 MB / 0.8313 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008934/0.5878, allocations: 0.6161 MB / 0.8319 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007951/0.5886, allocations: 447.2 kB / 0.8323 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006412/0.5893, allocations: 0.4928 MB / 0.8328 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.5895, allocations: 59.25 kB / 0.8329 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009397/0.5904, allocations: 427.7 kB / 0.8333 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.5906, allocations: 249 kB / 0.8335 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.5911, allocations: 0.5112 MB / 0.834 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.5926, allocations: 1.596 MB / 0.8356 GB, free: 248 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5926, allocations: 5.312 kB / 0.8356 GB, free: 244 kB / 0.5606 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5926, allocations: 0 / 0.8356 GB, free: 244 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.5926, allocations: 0 / 0.8356 GB, free: 244 kB / 0.5606 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.002824/0.5954, allocations: 1.482 MB / 0.837 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5955, allocations: 9.312 kB / 0.837 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.5964, allocations: 191.5 kB / 0.8372 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5976, allocations: 0.7738 MB / 0.838 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.5977, allocations: 66.09 kB / 0.838 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5978, allocations: 84.59 kB / 0.8381 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.5995, allocations: 0.9843 MB / 0.8391 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.5995, allocations: 3.984 kB / 0.8391 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/0.5996, allocations: 36.94 kB / 0.8391 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.5996, allocations: 22 kB / 0.8391 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.6015, allocations: 1.159 MB / 0.8403 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.6058, allocations: 2.706 MB / 0.8429 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.6078, allocations: 0.9811 MB / 0.8439 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.6084, allocations: 329.1 kB / 0.8442 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/0.6085, allocations: 38.55 kB / 0.8442 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.6095, allocations: 0.5301 MB / 0.8447 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 4.618e-06/0.6096, allocations: 0 / 0.8447 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.00325/0.6128, allocations: 1.287 MB / 0.846 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.6129, allocations: 198.4 kB / 0.8462 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.6137, allocations: 0.6513 MB / 0.8468 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.6138, allocations: 46.83 kB / 0.8469 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.6142, allocations: 404.4 kB / 0.8473 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.6144, allocations: 287.4 kB / 0.8475 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.6147, allocations: 182.5 kB / 0.8477 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6149, allocations: 390.9 kB / 0.8481 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.6154, allocations: 286.7 kB / 0.8483 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.6161, allocations: 394.2 kB / 0.8487 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6173, allocations: 0.6495 MB / 0.8494 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6173, allocations: 0 / 0.8494 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002076/0.6193, allocations: 0.9172 MB / 0.8503 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.6194, allocations: 6.906 kB / 0.8503 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6194, allocations: 0 / 0.8503 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006663/0.6201, allocations: 85.5 kB / 0.8503 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.6208, allocations: 178.7 kB / 0.8505 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6229, allocations: 1.512 MB / 0.852 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.6238, allocations: 114.3 kB / 0.8521 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/0.6238, allocations: 41.25 kB / 0.8521 GB, free: 6.055 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (104): * Single equations (assignments): 103 * 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.0004714/0.6243, allocations: 279.5 kB / 0.8524 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.6245, allocations: 84.78 kB / 0.8525 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.6271, allocations: 1.196 MB / 0.8537 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6271, allocations: 10.12 kB / 0.8537 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6271, allocations: 3.938 kB / 0.8537 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.6271, allocations: 3.984 kB / 0.8537 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.6304, allocations: 2.11 MB / 0.8557 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6304, allocations: 0 / 0.8557 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.6313, allocations: 172.3 kB / 0.8559 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.6319, allocations: 83.52 kB / 0.856 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.632, allocations: 25.73 kB / 0.856 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.6338, allocations: 1.54 MB / 0.8575 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6338, allocations: 7.922 kB / 0.8575 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.636, allocations: 1.082 MB / 0.8586 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.6364, allocations: 295.8 kB / 0.8588 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.6366, allocations: 27.89 kB / 0.8589 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.6373, allocations: 71.33 kB / 0.8589 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6375, allocations: 78.44 kB / 0.859 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/0.6376, allocations: 47.22 kB / 0.8591 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005924/0.6382, allocations: 466.5 kB / 0.8595 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6382, allocations: 0 / 0.8595 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001/0.6392, allocations: 344.7 kB / 0.8598 GB, free: 0.8359 MB / 0.5762 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.001415/0.6406, allocations: 0.6226 MB / 0.8604 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.6424, allocations: 0.8988 MB / 0.8613 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6424, allocations: 2.812 kB / 0.8613 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009438/0.6433, allocations: 0.5598 MB / 0.8619 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6445, allocations: 269.6 kB / 0.8621 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.6485, allocations: 2.319 MB / 0.8644 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.649, allocations: 1.041 MB / 0.8654 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008339/0.6499, allocations: 275.8 kB / 0.8657 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.6502, allocations: 116.9 kB / 0.8658 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.6502, allocations: 0 / 0.8658 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.02289/0.6731, allocations: 15.07 MB / 0.8805 GB, free: 1.543 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)