Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001624/0.001624, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 275.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 98.44 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1427, allocations: 86.98 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005749/0.1484, allocations: 4.435 MB / 0.6859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3812/0.5297, allocations: 150.6 MB / 0.833 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.5304, allocations: 23.81 kB / 0.833 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.531, allocations: 173.4 kB / 0.8332 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.5327, allocations: 0.5167 MB / 0.8337 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.5347, allocations: 0.8464 MB / 0.8345 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.5362, allocations: 1.359 MB / 0.8358 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.537, allocations: 0.6221 MB / 0.8364 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.5377, allocations: 486.3 kB / 0.8369 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.5383, allocations: 0.5133 MB / 0.8374 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.5385, allocations: 123.9 kB / 0.8375 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.5394, allocations: 491.6 kB / 0.838 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.5397, allocations: 299.7 kB / 0.8383 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.5403, allocations: 0.5557 MB / 0.8388 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.542, allocations: 1.638 MB / 0.8404 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.542, allocations: 0 / 0.8404 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.542, allocations: 0 / 0.8404 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.542, allocations: 0 / 0.8404 GB, free: 11.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002695/0.5447, allocations: 1.46 MB / 0.8418 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.5447, allocations: 15.78 kB / 0.8419 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.5457, allocations: 183.4 kB / 0.842 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5469, allocations: 0.7706 MB / 0.8428 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.547, allocations: 73.98 kB / 0.8429 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5471, allocations: 80 kB / 0.8429 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5487, allocations: 0.9495 MB / 0.8439 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5487, allocations: 0 / 0.8439 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.5488, allocations: 36 kB / 0.8439 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.5488, allocations: 20 kB / 0.8439 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.5506, allocations: 1.132 MB / 0.845 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.5545, allocations: 2.513 MB / 0.8475 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.5561, allocations: 0.9149 MB / 0.8484 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.5567, allocations: 318.7 kB / 0.8487 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.5568, allocations: 28.67 kB / 0.8487 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009112/0.5577, allocations: 0.521 MB / 0.8492 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.074e-06/0.5577, allocations: 0 / 0.8492 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.003265/0.561, allocations: 1.251 MB / 0.8504 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.5611, allocations: 196.9 kB / 0.8506 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.5619, allocations: 0.641 MB / 0.8512 GB, free: 376 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.5619, allocations: 45.7 kB / 0.8513 GB, free: 324 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.5622, allocations: 396.5 kB / 0.8517 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.5624, allocations: 276 kB / 0.8519 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.5627, allocations: 170.5 kB / 0.8521 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5629, allocations: 394.7 kB / 0.8525 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.5634, allocations: 281.8 kB / 0.8527 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.5641, allocations: 376 kB / 0.8531 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5653, allocations: 0.6368 MB / 0.8537 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5653, allocations: 0 / 0.8537 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001991/0.5673, allocations: 0.8838 MB / 0.8546 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5673, allocations: 8 kB / 0.8546 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5673, allocations: 0 / 0.8546 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.5679, allocations: 92.77 kB / 0.8547 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/0.5686, allocations: 167.8 kB / 0.8548 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.5707, allocations: 1.644 MB / 0.8564 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.5714, allocations: 99.38 kB / 0.8565 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.072e-05/0.5715, allocations: 39.97 kB / 0.8566 GB, free: 10.69 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (101): * Single equations (assignments): 100 * 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.0003623/0.5718, allocations: 267.8 kB / 0.8568 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.572, allocations: 86.95 kB / 0.8569 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.5745, allocations: 1.134 MB / 0.858 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5746, allocations: 15.94 kB / 0.858 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5746, allocations: 4 kB / 0.858 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5746, allocations: 3.984 kB / 0.858 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.5779, allocations: 2.037 MB / 0.86 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5779, allocations: 0 / 0.86 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.5786, allocations: 155.8 kB / 0.8602 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/0.579, allocations: 76.72 kB / 0.8603 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.5791, allocations: 27.97 kB / 0.8603 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.5809, allocations: 1.659 MB / 0.8619 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.581, allocations: 0 / 0.8619 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.583, allocations: 1.053 MB / 0.8629 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.5834, allocations: 279.7 kB / 0.8632 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5836, allocations: 23.91 kB / 0.8632 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.5842, allocations: 64.77 kB / 0.8633 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.5844, allocations: 80.89 kB / 0.8634 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.5845, allocations: 39.97 kB / 0.8634 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005385/0.585, allocations: 467 kB / 0.8638 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.585, allocations: 0 / 0.8638 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007797/0.5858, allocations: 315.3 kB / 0.8641 GB, free: 2.672 MB / 0.6231 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 (100): * Single equations (assignments): 93 * 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.001308/0.5871, allocations: 0.6167 MB / 0.8647 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.5888, allocations: 0.8748 MB / 0.8656 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5889, allocations: 0 / 0.8656 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.5898, allocations: 0.5434 MB / 0.8661 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5909, allocations: 301.9 kB / 0.8664 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.5946, allocations: 1.795 MB / 0.8682 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.5952, allocations: 1.043 MB / 0.8692 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007389/0.5959, allocations: 258.9 kB / 0.8694 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.5962, allocations: 115.4 kB / 0.8695 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.5962, allocations: 0 / 0.8695 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.02427/0.6205, allocations: 15.25 MB / 0.8844 GB, free: 14.21 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)