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.001294/0.001295, allocations: 109 kB / 16.41 MB, free: 6.496 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.001197/0.001197, allocations: 187 kB / 17.34 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 286.1 kB / 291.5 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 0.959/0.959, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 92.12 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5094, allocations: 86.98 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006469/0.5159, allocations: 4.28 MB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.6848, allocations: 150.5 MB / 0.9182 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.6858, allocations: 19.88 kB / 0.9182 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.6867, allocations: 166.4 kB / 0.9184 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.689, allocations: 0.5098 MB / 0.9189 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.6914, allocations: 0.8169 MB / 0.9197 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.6932, allocations: 1.285 MB / 0.9209 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.6944, allocations: 0.6201 MB / 0.9215 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008789/0.6953, allocations: 462.4 kB / 0.922 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008348/0.6961, allocations: 489.8 kB / 0.9225 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.6965, allocations: 112 kB / 0.9226 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.6977, allocations: 491.5 kB / 0.923 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.6981, allocations: 287.1 kB / 0.9233 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007335/0.6989, allocations: 0.5401 MB / 0.9238 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.7014, allocations: 1.583 MB / 0.9254 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.7014, allocations: 0 / 0.9254 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7014, allocations: 0 / 0.9254 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.332e-05/0.7015, allocations: 0 / 0.9254 GB, free: 1.172 MB / 0.6856 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.003599/0.7051, allocations: 1.395 MB / 0.9267 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7051, allocations: 16.02 kB / 0.9268 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.7062, allocations: 183.5 kB / 0.9269 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.7078, allocations: 0.7539 MB / 0.9277 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.7078, allocations: 58 kB / 0.9277 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.708, allocations: 80 kB / 0.9278 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7098, allocations: 0.9066 MB / 0.9287 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.7098, allocations: 0 / 0.9287 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.7099, allocations: 36 kB / 0.9287 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.7099, allocations: 24 kB / 0.9287 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.7117, allocations: 1.093 MB / 0.9298 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.7161, allocations: 2.436 MB / 0.9322 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.7177, allocations: 0.8675 MB / 0.933 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.7183, allocations: 294.7 kB / 0.9333 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.7184, allocations: 36.59 kB / 0.9333 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008525/0.7193, allocations: 491 kB / 0.9338 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.254e-06/0.7193, allocations: 0 / 0.9338 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003189/0.7225, allocations: 1.17 MB / 0.935 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.7226, allocations: 196.6 kB / 0.9351 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/0.7236, allocations: 0.6213 MB / 0.9358 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.984e-05/0.7237, allocations: 41.7 kB / 0.9358 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.724, allocations: 384.5 kB / 0.9362 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.7243, allocations: 256.3 kB / 0.9364 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.7246, allocations: 162.5 kB / 0.9366 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.7247, allocations: 390.7 kB / 0.9369 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.7253, allocations: 269.8 kB / 0.9372 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.7259, allocations: 351.1 kB / 0.9375 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.727, allocations: 0.5956 MB / 0.9381 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.727, allocations: 4 kB / 0.9381 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002012/0.729, allocations: 0.8371 MB / 0.9389 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.7291, allocations: 6.812 kB / 0.9389 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7291, allocations: 0 / 0.9389 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.7298, allocations: 88.75 kB / 0.939 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.7304, allocations: 159.8 kB / 0.9392 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.7326, allocations: 1.623 MB / 0.9408 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.7334, allocations: 95.41 kB / 0.9408 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.7335, allocations: 35.98 kB / 0.9409 GB, free: 0.7578 MB / 0.7012 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.0005083/0.734, allocations: 267.3 kB / 0.9411 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.7342, allocations: 82.97 kB / 0.9412 GB, free: 416 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.7367, allocations: 1.046 MB / 0.9422 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7367, allocations: 8 kB / 0.9422 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7367, allocations: 0 / 0.9422 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7367, allocations: 11.92 kB / 0.9423 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.7401, allocations: 1.907 MB / 0.9441 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7401, allocations: 0 / 0.9441 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.7407, allocations: 143.8 kB / 0.9443 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.7412, allocations: 72.78 kB / 0.9443 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.7413, allocations: 23.98 kB / 0.9443 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.7433, allocations: 1.658 MB / 0.946 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7433, allocations: 0 / 0.946 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.7454, allocations: 0.9863 MB / 0.9469 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.7459, allocations: 263.7 kB / 0.9472 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.746, allocations: 20 kB / 0.9472 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.7467, allocations: 59.92 kB / 0.9473 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.7469, allocations: 72.91 kB / 0.9473 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.747, allocations: 35.97 kB / 0.9474 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006651/0.7476, allocations: 451 kB / 0.9478 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7476, allocations: 0 / 0.9478 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009538/0.7486, allocations: 307.2 kB / 0.9481 GB, free: 9.109 MB / 0.7169 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.001483/0.7501, allocations: 0.6072 MB / 0.9487 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.7519, allocations: 0.8118 MB / 0.9495 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7519, allocations: 0 / 0.9495 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.7528, allocations: 0.5237 MB / 0.95 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.7541, allocations: 290.9 kB / 0.9503 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.7581, allocations: 1.745 MB / 0.952 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.7588, allocations: 1.015 MB / 0.953 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.7592, allocations: 127.3 kB / 0.9531 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.7592, allocations: 0 / 0.9531 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.4375/1.197, allocations: 18.19 MB / 0.9708 GB, free: 182.4 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)