Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 110 kB / 16.37 MB, free: 6.469 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.001912/0.001912, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.556/1.556, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002421/0.002422, allocations: 281.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002217, allocations: 97.17 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2735, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.0092/0.2828, allocations: 4.284 MB / 0.6858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7527/1.036, allocations: 150.5 MB / 0.8328 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/1.037, allocations: 15.94 kB / 0.8328 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006299/1.037, allocations: 169.4 kB / 0.833 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/1.039, allocations: 0.5007 MB / 0.8335 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/1.042, allocations: 0.8232 MB / 0.8343 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001601/1.043, allocations: 1.281 MB / 0.8355 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/1.044, allocations: 0.6109 MB / 0.8361 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/1.045, allocations: 470.3 kB / 0.8366 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/1.046, allocations: 481.9 kB / 0.837 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/1.046, allocations: 112 kB / 0.8371 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/1.047, allocations: 487.6 kB / 0.8376 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/1.047, allocations: 298.8 kB / 0.8379 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004981/1.048, allocations: 0.5285 MB / 0.8384 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/1.049, allocations: 1.58 MB / 0.8399 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.05, allocations: 0 / 0.8399 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/1.05, allocations: 0 / 0.8399 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.602e-05/1.05, allocations: 0 / 0.8399 GB, free: 12.2 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002611/1.052, allocations: 1.403 MB / 0.8413 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.052, allocations: 8.031 kB / 0.8413 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/1.053, allocations: 182.9 kB / 0.8415 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/1.054, allocations: 0.7581 MB / 0.8422 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/1.054, allocations: 62 kB / 0.8423 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.054, allocations: 80 kB / 0.8424 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/1.056, allocations: 0.9132 MB / 0.8432 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.056, allocations: 0 / 0.8432 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/1.056, allocations: 36 kB / 0.8433 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/1.056, allocations: 20 kB / 0.8433 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/1.058, allocations: 1.093 MB / 0.8444 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/1.062, allocations: 2.438 MB / 0.8467 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.063, allocations: 0.858 MB / 0.8476 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/1.064, allocations: 298.7 kB / 0.8479 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.514e-05/1.064, allocations: 32.61 kB / 0.8479 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008426/1.065, allocations: 491.1 kB / 0.8484 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/1.065, allocations: 0 / 0.8484 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.003071/1.068, allocations: 1.174 MB / 0.8495 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.068, allocations: 188.6 kB / 0.8497 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/1.069, allocations: 0.6215 MB / 0.8503 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/1.069, allocations: 41.64 kB / 0.8503 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/1.069, allocations: 396.3 kB / 0.8507 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.069, allocations: 256.4 kB / 0.851 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/1.07, allocations: 166.4 kB / 0.8511 GB, free: 408 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.07, allocations: 382.8 kB / 0.8515 GB, free: 16 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/1.07, allocations: 257.9 kB / 0.8517 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/1.071, allocations: 363 kB / 0.8521 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/1.072, allocations: 0.5916 MB / 0.8527 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.072, allocations: 0 / 0.8527 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001974/1.074, allocations: 0.8421 MB / 0.8535 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.074, allocations: 4 kB / 0.8535 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.074, allocations: 0 / 0.8535 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/1.075, allocations: 84.8 kB / 0.8536 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/1.076, allocations: 159.7 kB / 0.8537 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.078, allocations: 1.627 MB / 0.8553 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/1.079, allocations: 95.27 kB / 0.8554 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/1.079, allocations: 35.97 kB / 0.8554 GB, free: 11.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004798/1.079, allocations: 263.4 kB / 0.8557 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.079, allocations: 94.98 kB / 0.8558 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/1.082, allocations: 1.048 MB / 0.8568 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.082, allocations: 8 kB / 0.8568 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/1.082, allocations: 0 / 0.8568 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.082, allocations: 3.984 kB / 0.8568 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/1.085, allocations: 1.903 MB / 0.8587 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.085, allocations: 0 / 0.8587 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/1.086, allocations: 151.7 kB / 0.8588 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/1.086, allocations: 72.78 kB / 0.8589 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/1.086, allocations: 27.98 kB / 0.8589 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.088, allocations: 1.654 MB / 0.8605 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.088, allocations: 3.938 kB / 0.8605 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.09, allocations: 0.9786 MB / 0.8615 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/1.09, allocations: 279.7 kB / 0.8617 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.091, allocations: 16 kB / 0.8618 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/1.091, allocations: 68.77 kB / 0.8618 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.091, allocations: 64.91 kB / 0.8619 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/1.091, allocations: 31.98 kB / 0.8619 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006489/1.092, allocations: 455 kB / 0.8624 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.092, allocations: 0 / 0.8624 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001032/1.093, allocations: 307.2 kB / 0.8627 GB, free: 4.145 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00161/1.095, allocations: 0.6075 MB / 0.8632 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001836/1.097, allocations: 0.8163 MB / 0.864 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.097, allocations: 192 / 0.864 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/1.098, allocations: 0.5157 MB / 0.8645 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/1.099, allocations: 296.2 kB / 0.8648 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/1.103, allocations: 1.704 MB / 0.8665 GB, free: 372 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/1.104, allocations: 1.026 MB / 0.8675 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008568/1.104, allocations: 254.5 kB / 0.8677 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/1.105, allocations: 103.4 kB / 0.8678 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of SimCode: time 1.253e-06/1.105, allocations: 3.938 kB / 0.8678 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.02853/1.133, allocations: 14.56 MB / 0.8821 GB, free: 0.6094 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)