Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001119/0.001119, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001448/0.001449, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.553/1.553, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 16.53 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1828, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003927/0.1867, allocations: 3.41 MB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4733/0.6601, allocations: 127.2 MB / 0.9146 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.6605, allocations: 15.69 kB / 0.9146 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.6607, allocations: 70.64 kB / 0.9147 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008777/0.6616, allocations: 407.4 kB / 0.9151 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.6628, allocations: 0.576 MB / 0.9156 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.6635, allocations: 0.7218 MB / 0.9164 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.6641, allocations: 444.4 kB / 0.9168 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.6644, allocations: 289.2 kB / 0.9171 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.6647, allocations: 271.5 kB / 0.9173 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.6648, allocations: 23.11 kB / 0.9173 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.6652, allocations: 243.2 kB / 0.9176 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.6654, allocations: 164.1 kB / 0.9177 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.6656, allocations: 169.6 kB / 0.9179 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.6666, allocations: 0.9969 MB / 0.9189 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.6666, allocations: 0 / 0.9189 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6666, allocations: 0 / 0.9189 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.6666, allocations: 0 / 0.9189 GB, free: 5.562 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00168/0.6683, allocations: 1.092 MB / 0.9199 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.6684, allocations: 9.234 kB / 0.9199 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.6692, allocations: 188.5 kB / 0.9201 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.6701, allocations: 0.6717 MB / 0.9208 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.6701, allocations: 57.47 kB / 0.9208 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.6702, allocations: 70.62 kB / 0.9209 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6714, allocations: 0.8205 MB / 0.9217 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.6714, allocations: 6.844 kB / 0.9217 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.6715, allocations: 34.34 kB / 0.9217 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.6715, allocations: 20.19 kB / 0.9218 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.673, allocations: 1.044 MB / 0.9228 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.6762, allocations: 2.323 MB / 0.925 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.6773, allocations: 0.7879 MB / 0.9258 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/0.6774, allocations: 33.12 kB / 0.9258 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.6781, allocations: 414 kB / 0.9262 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.074e-06/0.6781, allocations: 0 / 0.9262 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002502/0.6806, allocations: 1.056 MB / 0.9273 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.6807, allocations: 196.5 kB / 0.9275 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.6813, allocations: 0.5518 MB / 0.928 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.6813, allocations: 37.89 kB / 0.928 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.6816, allocations: 361.5 kB / 0.9284 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.6817, allocations: 229.2 kB / 0.9286 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.6817, allocations: 14.94 kB / 0.9286 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6819, allocations: 381.7 kB / 0.929 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.6823, allocations: 209.8 kB / 0.9292 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.6827, allocations: 303.7 kB / 0.9295 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.6832, allocations: 260.4 kB / 0.9297 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6832, allocations: 1 kB / 0.9297 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001604/0.6848, allocations: 0.6987 MB / 0.9304 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6848, allocations: 9.516 kB / 0.9304 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6848, allocations: 1.906 kB / 0.9304 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.6854, allocations: 88.59 kB / 0.9305 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.6859, allocations: 134.3 kB / 0.9306 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.6878, allocations: 1.527 MB / 0.9321 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.6883, allocations: 77.98 kB / 0.9322 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.6883, allocations: 26.25 kB / 0.9322 GB, free: 16.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.6887, allocations: 257.8 kB / 0.9325 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.6888, allocations: 80.22 kB / 0.9325 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.6908, allocations: 0.9664 MB / 0.9335 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.6908, allocations: 12.03 kB / 0.9335 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6908, allocations: 1.031 kB / 0.9335 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6908, allocations: 4.406 kB / 0.9335 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.6938, allocations: 1.79 MB / 0.9352 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6938, allocations: 0 / 0.9352 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.6944, allocations: 141.1 kB / 0.9354 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005099/0.6949, allocations: 85.98 kB / 0.9355 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.695, allocations: 21.17 kB / 0.9355 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.6967, allocations: 1.559 MB / 0.937 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6967, allocations: 5.688 kB / 0.937 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.6982, allocations: 0.8844 MB / 0.9379 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.6985, allocations: 266.8 kB / 0.9381 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.6986, allocations: 18.61 kB / 0.9381 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.6992, allocations: 64.94 kB / 0.9382 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6993, allocations: 57.3 kB / 0.9383 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.6993, allocations: 33.25 kB / 0.9383 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004286/0.6998, allocations: 401 kB / 0.9387 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6998, allocations: 0 / 0.9387 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007093/0.7005, allocations: 253.3 kB / 0.9389 GB, free: 14.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.7016, allocations: 0.5618 MB / 0.9395 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.7028, allocations: 0.7077 MB / 0.9402 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7028, allocations: 3.609 kB / 0.9402 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.7036, allocations: 487.3 kB / 0.9406 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.7045, allocations: 228.7 kB / 0.9408 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.7077, allocations: 1.967 MB / 0.9428 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.7083, allocations: 1.004 MB / 0.9437 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.7089, allocations: 250.6 kB / 0.944 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.7091, allocations: 98.09 kB / 0.9441 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.7091, allocations: 0 / 0.9441 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.01984/0.729, allocations: 12.17 MB / 0.956 GB, free: 9.008 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: