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.0009414/0.0009417, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00115/0.00115, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 255.1 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004622, allocations: 13.19 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1976, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00479/0.2025, allocations: 3.806 MB / 0.6882 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5158/0.7183, allocations: 136.8 MB / 0.8218 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008946/0.7192, allocations: 14.56 kB / 0.8218 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.7197, allocations: 136.7 kB / 0.8219 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.7212, allocations: 433.8 kB / 0.8223 GB, free: 360 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.7231, allocations: 0.6424 MB / 0.823 GB, free: 204 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.7246, allocations: 1.161 MB / 0.8241 GB, free: 16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.7254, allocations: 484.7 kB / 0.8246 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.7261, allocations: 345.1 kB / 0.8249 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.7266, allocations: 378 kB / 0.8253 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.7267, allocations: 27.5 kB / 0.8253 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009603/0.7277, allocations: 342.6 kB / 0.8256 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.7279, allocations: 189.5 kB / 0.8258 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.7281, allocations: 202.6 kB / 0.826 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.7294, allocations: 1.182 MB / 0.8271 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7294, allocations: 1.375 kB / 0.8271 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7295, allocations: 0 / 0.8271 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.7295, allocations: 0 / 0.8271 GB, free: 14.83 MB / 0.5606 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.002345/0.7318, allocations: 1.248 MB / 0.8284 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7319, allocations: 8.938 kB / 0.8284 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008911/0.7328, allocations: 208.7 kB / 0.8286 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7338, allocations: 0.7158 MB / 0.8293 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.7339, allocations: 64.12 kB / 0.8293 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.734, allocations: 88.08 kB / 0.8294 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.7356, allocations: 0.94 MB / 0.8303 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7356, allocations: 4.438 kB / 0.8303 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.7357, allocations: 45.19 kB / 0.8304 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.7357, allocations: 25.42 kB / 0.8304 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.7373, allocations: 1.128 MB / 0.8315 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.7412, allocations: 2.57 MB / 0.834 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.7426, allocations: 0.9278 MB / 0.8349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.7431, allocations: 315.4 kB / 0.8352 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.36e-05/0.7432, allocations: 32.61 kB / 0.8352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008389/0.744, allocations: 0.5207 MB / 0.8358 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 3.296e-06/0.744, allocations: 2.688 kB / 0.8358 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.002867/0.7469, allocations: 1.255 MB / 0.837 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.747, allocations: 195 kB / 0.8372 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/0.7478, allocations: 0.6316 MB / 0.8378 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.7479, allocations: 46.45 kB / 0.8378 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.7482, allocations: 399.5 kB / 0.8382 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.7485, allocations: 280.7 kB / 0.8385 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.7485, allocations: 14.12 kB / 0.8385 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7487, allocations: 391 kB / 0.8389 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.7492, allocations: 276.6 kB / 0.8391 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.7498, allocations: 384.4 kB / 0.8395 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.7503, allocations: 317.6 kB / 0.8398 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7503, allocations: 0 / 0.8398 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00179/0.7521, allocations: 0.8849 MB / 0.8407 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.7522, allocations: 10.12 kB / 0.8407 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.7522, allocations: 7.875 kB / 0.8407 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.7527, allocations: 83.75 kB / 0.8408 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.7533, allocations: 173.2 kB / 0.8409 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.7553, allocations: 1.526 MB / 0.8424 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.7562, allocations: 112.4 kB / 0.8425 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.7563, allocations: 37.41 kB / 0.8426 GB, free: 7.094 MB / 0.5606 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004728/0.7568, allocations: 270 kB / 0.8428 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.7569, allocations: 87.5 kB / 0.8429 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.7592, allocations: 1.157 MB / 0.844 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.7592, allocations: 7.594 kB / 0.844 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7592, allocations: 3.281 kB / 0.844 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7593, allocations: 3.984 kB / 0.844 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.7624, allocations: 2.036 MB / 0.846 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.7624, allocations: 0 / 0.846 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.763, allocations: 161.2 kB / 0.8462 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.7634, allocations: 91.14 kB / 0.8463 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.7635, allocations: 27.91 kB / 0.8463 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.7652, allocations: 1.541 MB / 0.8478 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7652, allocations: 3.953 kB / 0.8478 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.7673, allocations: 1.047 MB / 0.8488 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.7678, allocations: 296.1 kB / 0.8491 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7679, allocations: 31.64 kB / 0.8491 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.7685, allocations: 82.14 kB / 0.8492 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7687, allocations: 80.91 kB / 0.8493 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.7688, allocations: 36.73 kB / 0.8493 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005714/0.7693, allocations: 462.9 kB / 0.8498 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7694, allocations: 0 / 0.8498 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009349/0.7703, allocations: 321.3 kB / 0.8501 GB, free: 1.914 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/0.7716, allocations: 0.6036 MB / 0.8507 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7733, allocations: 0.8674 MB / 0.8515 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7733, allocations: 2.844 kB / 0.8515 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008756/0.7742, allocations: 0.5383 MB / 0.852 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.7754, allocations: 267.4 kB / 0.8523 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.7793, allocations: 2.249 MB / 0.8545 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.7799, allocations: 1.042 MB / 0.8555 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008814/0.7808, allocations: 266 kB / 0.8558 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.7811, allocations: 111.7 kB / 0.8559 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7811, allocations: 0 / 0.8559 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.02399/0.8051, allocations: 14.07 MB / 0.8696 GB, free: 2.258 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)