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.001287/0.001287, allocations: 107.7 kB / 16.41 MB, free: 6.441 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.001334/0.001334, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 290.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6776, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.008409/0.686, allocations: 4.283 MB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2103/0.8963, allocations: 150.5 MB / 0.9182 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.8976, allocations: 15.88 kB / 0.9182 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.8983, allocations: 174.4 kB / 0.9184 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.9004, allocations: 0.5021 MB / 0.9189 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.9027, allocations: 0.8164 MB / 0.9197 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.9043, allocations: 1.285 MB / 0.9209 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009334/0.9053, allocations: 0.61 MB / 0.9215 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.906, allocations: 470.3 kB / 0.922 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.9066, allocations: 489.8 kB / 0.9225 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.9068, allocations: 112 kB / 0.9226 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.9079, allocations: 487.6 kB / 0.923 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.9082, allocations: 295.1 kB / 0.9233 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005361/0.9088, allocations: 0.5323 MB / 0.9238 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.9108, allocations: 1.583 MB / 0.9254 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.9108, allocations: 0 / 0.9254 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.566e-06/0.9108, allocations: 0 / 0.9254 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.9108, allocations: 0 / 0.9254 GB, free: 1.156 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.002774/0.9136, allocations: 1.395 MB / 0.9267 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.9137, allocations: 12.03 kB / 0.9268 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/0.9147, allocations: 179.5 kB / 0.9269 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.9159, allocations: 0.7616 MB / 0.9277 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.916, allocations: 66 kB / 0.9277 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.9161, allocations: 76 kB / 0.9278 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.9178, allocations: 0.9028 MB / 0.9287 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.9178, allocations: 3.938 kB / 0.9287 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.9179, allocations: 36 kB / 0.9287 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.918, allocations: 24 kB / 0.9287 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.9198, allocations: 1.097 MB / 0.9298 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00406/0.9238, allocations: 2.429 MB / 0.9322 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.9254, allocations: 0.8716 MB / 0.933 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.926, allocations: 294.7 kB / 0.9333 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/0.9261, allocations: 28.61 kB / 0.9333 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008739/0.9269, allocations: 495 kB / 0.9338 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.464e-06/0.927, allocations: 0 / 0.9338 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003152/0.9301, allocations: 1.17 MB / 0.935 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.9303, allocations: 192.6 kB / 0.9351 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.9311, allocations: 0.6252 MB / 0.9358 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.9312, allocations: 45.7 kB / 0.9358 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.9316, allocations: 376.5 kB / 0.9362 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.9318, allocations: 260.3 kB / 0.9364 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.9321, allocations: 162.5 kB / 0.9366 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.9323, allocations: 394.7 kB / 0.9369 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.9328, allocations: 257.9 kB / 0.9372 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.9335, allocations: 355.1 kB / 0.9375 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.9346, allocations: 0.5955 MB / 0.9381 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9346, allocations: 0 / 0.9381 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001966/0.9366, allocations: 0.8331 MB / 0.9389 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.9366, allocations: 8 kB / 0.9389 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.9366, allocations: 0 / 0.9389 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.9373, allocations: 88.8 kB / 0.939 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.9379, allocations: 163.7 kB / 0.9392 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.9402, allocations: 1.619 MB / 0.9407 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.941, allocations: 101.9 kB / 0.9408 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.9411, allocations: 35.97 kB / 0.9409 GB, free: 0.7422 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.0004919/0.9416, allocations: 263.4 kB / 0.9411 GB, free: 488 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.9417, allocations: 82.97 kB / 0.9412 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.9441, allocations: 1.05 MB / 0.9422 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.9441, allocations: 12 kB / 0.9422 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.9441, allocations: 0 / 0.9422 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.9441, allocations: 11.92 kB / 0.9423 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.9474, allocations: 1.904 MB / 0.9441 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.9474, allocations: 0 / 0.9441 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.9479, allocations: 143.8 kB / 0.9443 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/0.9484, allocations: 72.73 kB / 0.9443 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.9485, allocations: 31.97 kB / 0.9444 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.9505, allocations: 1.65 MB / 0.946 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9505, allocations: 64 / 0.946 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.9525, allocations: 0.9824 MB / 0.9469 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.953, allocations: 275.7 kB / 0.9472 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.9531, allocations: 20 kB / 0.9472 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.9537, allocations: 55.94 kB / 0.9473 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.9539, allocations: 68.89 kB / 0.9473 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.954, allocations: 35.98 kB / 0.9474 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005972/0.9546, allocations: 459 kB / 0.9478 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9546, allocations: 0 / 0.9478 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009441/0.9555, allocations: 307.2 kB / 0.9481 GB, free: 9.082 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.001495/0.957, allocations: 0.6006 MB / 0.9487 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.9589, allocations: 0.8195 MB / 0.9495 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.9589, allocations: 0 / 0.9495 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009963/0.9599, allocations: 0.5238 MB / 0.95 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.9612, allocations: 289.5 kB / 0.9503 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.9657, allocations: 1.753 MB / 0.952 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.9665, allocations: 1.015 MB / 0.953 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.9669, allocations: 119.4 kB / 0.9531 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of SimCode: time 1.954e-06/0.9669, allocations: 0 / 0.9531 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.5415/1.508, allocations: 18.31 MB / 0.971 GB, free: 182.3 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)