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.005425/0.005425, allocations: 99.78 kB / 15.73 MB, free: 6.004 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.001175/0.001175, allocations: 190.3 kB / 16.67 MB, free: 5.922 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 295.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9709/0.9709, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 95.86 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5532, allocations: 86.97 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006059/0.5593, allocations: 4.287 MB / 0.7706 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.7373, allocations: 150.5 MB / 0.9176 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.7384, allocations: 19.88 kB / 0.9176 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.7391, allocations: 170.4 kB / 0.9177 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.7411, allocations: 0.4982 MB / 0.9182 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.7434, allocations: 0.82 MB / 0.919 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.745, allocations: 1.277 MB / 0.9203 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000956/0.7459, allocations: 0.6217 MB / 0.9209 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.7466, allocations: 458.4 kB / 0.9213 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005848/0.7472, allocations: 493.8 kB / 0.9218 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.7474, allocations: 116 kB / 0.9219 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009539/0.7483, allocations: 479.6 kB / 0.9224 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.7486, allocations: 291.1 kB / 0.9226 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.749, allocations: 0.5323 MB / 0.9232 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.751, allocations: 1.586 MB / 0.9247 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.751, allocations: 4 kB / 0.9247 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.224e-06/0.751, allocations: 0 / 0.9247 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.7511, allocations: 0 / 0.9247 GB, free: 1.109 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.002405/0.7535, allocations: 1.436 MB / 0.9261 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7535, allocations: 8.031 kB / 0.9261 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.7544, allocations: 192.1 kB / 0.9263 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.7555, allocations: 0.7623 MB / 0.927 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.7556, allocations: 65.98 kB / 0.9271 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7557, allocations: 80 kB / 0.9272 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.7573, allocations: 0.8989 MB / 0.9281 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7573, allocations: 0 / 0.9281 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.7574, allocations: 36 kB / 0.9281 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.7574, allocations: 20 kB / 0.9281 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.7591, allocations: 1.097 MB / 0.9292 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.7628, allocations: 2.453 MB / 0.9316 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.7643, allocations: 0.8599 MB / 0.9324 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.7649, allocations: 298.7 kB / 0.9327 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.7649, allocations: 28.61 kB / 0.9327 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/0.7659, allocations: 496.6 kB / 0.9332 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.996e-06/0.7659, allocations: 4 kB / 0.9332 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003001/0.7689, allocations: 1.175 MB / 0.9344 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.769, allocations: 192.6 kB / 0.9345 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.7698, allocations: 0.6253 MB / 0.9352 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.7699, allocations: 41.7 kB / 0.9352 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.7702, allocations: 389.1 kB / 0.9356 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.7705, allocations: 273.7 kB / 0.9358 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.7708, allocations: 162.6 kB / 0.936 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.771, allocations: 386.7 kB / 0.9364 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.7715, allocations: 261.9 kB / 0.9366 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.7721, allocations: 359.1 kB / 0.9369 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.7733, allocations: 0.5955 MB / 0.9375 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7733, allocations: 0 / 0.9375 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00186/0.7751, allocations: 0.8374 MB / 0.9383 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.7752, allocations: 8 kB / 0.9383 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7752, allocations: 0 / 0.9383 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/0.7758, allocations: 84.86 kB / 0.9384 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.7764, allocations: 155.8 kB / 0.9386 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.7785, allocations: 1.638 MB / 0.9402 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.7792, allocations: 87.56 kB / 0.9403 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.7793, allocations: 36.03 kB / 0.9403 GB, free: 0.6094 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.0005274/0.7798, allocations: 267.4 kB / 0.9406 GB, free: 348 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.78, allocations: 87.44 kB / 0.9406 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.7823, allocations: 1.05 MB / 0.9417 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7823, allocations: 8 kB / 0.9417 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7823, allocations: 4 kB / 0.9417 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7823, allocations: 11.86 kB / 0.9417 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.7855, allocations: 1.908 MB / 0.9435 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7855, allocations: 0 / 0.9435 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.786, allocations: 143.8 kB / 0.9437 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.7864, allocations: 64.8 kB / 0.9437 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.7865, allocations: 31.91 kB / 0.9438 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.7885, allocations: 1.654 MB / 0.9454 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7885, allocations: 4.062 kB / 0.9454 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.7907, allocations: 0.9868 MB / 0.9464 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.7911, allocations: 280.1 kB / 0.9466 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.7912, allocations: 20 kB / 0.9466 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.7919, allocations: 65.94 kB / 0.9467 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.792, allocations: 76.88 kB / 0.9468 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.7921, allocations: 31.98 kB / 0.9468 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006039/0.7927, allocations: 451 kB / 0.9472 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7927, allocations: 4 kB / 0.9472 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008996/0.7937, allocations: 311.2 kB / 0.9475 GB, free: 8.926 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.001396/0.7951, allocations: 0.592 MB / 0.9481 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.7969, allocations: 0.8313 MB / 0.9489 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7969, allocations: 0 / 0.9489 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000969/0.7979, allocations: 0.5042 MB / 0.9494 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.7991, allocations: 299.5 kB / 0.9497 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.8028, allocations: 1.744 MB / 0.9514 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.8037, allocations: 1.019 MB / 0.9524 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008452/0.8045, allocations: 254.5 kB / 0.9527 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.8048, allocations: 103.4 kB / 0.9527 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/0.8048, allocations: 0 / 0.9527 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of Templates: time 0.3826/1.187, allocations: 14.71 MB / 0.9671 GB, free: 184.7 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)