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.001658/0.001658, allocations: 102.8 kB / 16.35 MB, free: 6.289 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.001857/0.001857, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.405/1.405, 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.002196/0.002197, allocations: 277.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.978/0.978, allocations: 169.2 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003005/0.003005, allocations: 102.9 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1828, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006414/0.1893, allocations: 4.42 MB / 0.6859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5373/0.7266, allocations: 150.6 MB / 0.833 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.7281, allocations: 19.88 kB / 0.833 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008594/0.729, allocations: 173.5 kB / 0.8332 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.7316, allocations: 0.5073 MB / 0.8337 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.7345, allocations: 0.8536 MB / 0.8345 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.7365, allocations: 1.351 MB / 0.8358 GB, free: 420 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.7377, allocations: 0.6346 MB / 0.8364 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.7385, allocations: 494.3 kB / 0.8369 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.7392, allocations: 0.5056 MB / 0.8374 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.7394, allocations: 116 kB / 0.8375 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.7406, allocations: 495.5 kB / 0.838 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.741, allocations: 299 kB / 0.8383 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.7416, allocations: 0.5634 MB / 0.8388 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.7439, allocations: 1.63 MB / 0.8404 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.7439, allocations: 0 / 0.8404 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.549e-06/0.7439, allocations: 0 / 0.8404 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.744, allocations: 4 kB / 0.8404 GB, free: 11.67 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.003197/0.7472, allocations: 1.46 MB / 0.8418 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.7472, allocations: 8.031 kB / 0.8418 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.7483, allocations: 187.4 kB / 0.842 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.7498, allocations: 0.7823 MB / 0.8428 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.7499, allocations: 62 kB / 0.8428 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.75, allocations: 84 kB / 0.8429 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.7518, allocations: 0.9456 MB / 0.8438 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.7518, allocations: 0 / 0.8438 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.7519, allocations: 43.98 kB / 0.8439 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.752, allocations: 20 kB / 0.8439 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.7539, allocations: 1.12 MB / 0.845 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004639/0.7586, allocations: 2.528 MB / 0.8475 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.7603, allocations: 0.9032 MB / 0.8484 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.7609, allocations: 318.7 kB / 0.8487 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.761, allocations: 32.69 kB / 0.8487 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.7621, allocations: 0.5227 MB / 0.8492 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.405e-06/0.7621, allocations: 0 / 0.8492 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.003504/0.7656, allocations: 1.251 MB / 0.8504 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.7658, allocations: 196.9 kB / 0.8506 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/0.7668, allocations: 0.6371 MB / 0.8512 GB, free: 280 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.7669, allocations: 41.7 kB / 0.8513 GB, free: 232 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.7673, allocations: 400.5 kB / 0.8517 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.7676, allocations: 279.9 kB / 0.8519 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.7679, allocations: 174.5 kB / 0.8521 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.7682, allocations: 394.7 kB / 0.8525 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.7687, allocations: 277.8 kB / 0.8527 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.7695, allocations: 380 kB / 0.8531 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.7707, allocations: 0.6329 MB / 0.8537 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.7707, allocations: 0 / 0.8537 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002127/0.7729, allocations: 0.8877 MB / 0.8546 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.7729, allocations: 6.344 kB / 0.8546 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7729, allocations: 0 / 0.8546 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/0.7736, allocations: 88.83 kB / 0.8547 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.7744, allocations: 175.7 kB / 0.8548 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.7772, allocations: 1.62 MB / 0.8564 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.778, allocations: 96.22 kB / 0.8565 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.7781, allocations: 43.97 kB / 0.8565 GB, free: 10.61 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.0005816/0.7787, allocations: 281 kB / 0.8568 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.7789, allocations: 84.53 kB / 0.8569 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.7817, allocations: 1.134 MB / 0.858 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.7817, allocations: 15.94 kB / 0.858 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7817, allocations: 0 / 0.858 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7817, allocations: 3.984 kB / 0.858 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.7856, allocations: 2.037 MB / 0.86 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.7856, allocations: 0 / 0.86 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.7862, allocations: 159.8 kB / 0.8602 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.7867, allocations: 72.78 kB / 0.8602 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.7868, allocations: 31.92 kB / 0.8603 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.789, allocations: 1.663 MB / 0.8619 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.789, allocations: 0 / 0.8619 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.7913, allocations: 1.056 MB / 0.8629 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.7918, allocations: 275.7 kB / 0.8632 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.792, allocations: 23.94 kB / 0.8632 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.7926, allocations: 75.86 kB / 0.8633 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.7928, allocations: 76.89 kB / 0.8634 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.7929, allocations: 35.98 kB / 0.8634 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006817/0.7936, allocations: 463 kB / 0.8638 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7936, allocations: 0 / 0.8638 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001083/0.7947, allocations: 323.2 kB / 0.8641 GB, free: 2.57 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.001749/0.7965, allocations: 0.6122 MB / 0.8647 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.7985, allocations: 0.875 MB / 0.8656 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/0.7986, allocations: 8 kB / 0.8656 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.7996, allocations: 0.5315 MB / 0.8661 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.8009, allocations: 293.9 kB / 0.8664 GB, free: 440 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.8054, allocations: 1.801 MB / 0.8682 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/0.8064, allocations: 1.04 MB / 0.8692 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001044/0.8074, allocations: 274.7 kB / 0.8694 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.8077, allocations: 119.3 kB / 0.8695 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of SimCode: time 1.393e-06/0.8077, allocations: 0 / 0.8695 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.03091/0.8386, allocations: 15.24 MB / 0.8844 GB, free: 14.12 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)