Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004993/0.004993, allocations: 170 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 270.7 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 17.02 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004522/0.149, allocations: 3.904 MB / 0.6889 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4136/0.5626, allocations: 146.6 MB / 0.8321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.5632, allocations: 13.56 kB / 0.8321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.5636, allocations: 133.7 kB / 0.8323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.5648, allocations: 439.5 kB / 0.8327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5664, allocations: 0.7173 MB / 0.8334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.5674, allocations: 1.195 MB / 0.8346 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008342/0.5683, allocations: 0.605 MB / 0.8351 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.5688, allocations: 329.6 kB / 0.8355 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.5692, allocations: 377.1 kB / 0.8358 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.205e-05/0.5693, allocations: 26.47 kB / 0.8358 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.57, allocations: 371.5 kB / 0.8362 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.5701, allocations: 185.8 kB / 0.8364 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.5705, allocations: 456.2 kB / 0.8368 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.5717, allocations: 1.471 MB / 0.8382 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5717, allocations: 2.781 kB / 0.8382 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5717, allocations: 0 / 0.8382 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5717, allocations: 0 / 0.8382 GB, free: 9.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001983/0.5737, allocations: 1.195 MB / 0.8394 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.5737, allocations: 9.469 kB / 0.8394 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.5746, allocations: 197.1 kB / 0.8396 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009309/0.5755, allocations: 0.7401 MB / 0.8403 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.5756, allocations: 65.47 kB / 0.8404 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5757, allocations: 79.28 kB / 0.8405 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.5772, allocations: 0.9287 MB / 0.8414 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5772, allocations: 0 / 0.8414 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.5773, allocations: 37.67 kB / 0.8414 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.5774, allocations: 29.31 kB / 0.8414 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.579, allocations: 1.113 MB / 0.8425 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/0.5826, allocations: 2.555 MB / 0.845 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5841, allocations: 0.8976 MB / 0.8459 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.5846, allocations: 310 kB / 0.8462 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.5847, allocations: 34.34 kB / 0.8462 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008071/0.5855, allocations: 0.4966 MB / 0.8467 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.134e-06/0.5855, allocations: 0 / 0.8467 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.002945/0.5885, allocations: 1.2 MB / 0.8479 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.5886, allocations: 196.7 kB / 0.8481 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/0.5893, allocations: 0.6213 MB / 0.8487 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.5894, allocations: 43.86 kB / 0.8487 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.5897, allocations: 390.7 kB / 0.8491 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.5899, allocations: 260.8 kB / 0.8493 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.59, allocations: 64.25 kB / 0.8494 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5901, allocations: 389.6 kB / 0.8498 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.5906, allocations: 275.3 kB / 0.85 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.5912, allocations: 366.8 kB / 0.8504 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5923, allocations: 0.6089 MB / 0.851 GB, free: 268 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5923, allocations: 3.062 kB / 0.851 GB, free: 268 kB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001855/0.5942, allocations: 0.8576 MB / 0.8518 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5942, allocations: 6.75 kB / 0.8518 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5942, allocations: 0 / 0.8518 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.5948, allocations: 92.36 kB / 0.8519 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.5954, allocations: 157.4 kB / 0.8521 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.5974, allocations: 1.533 MB / 0.8536 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.5982, allocations: 107.7 kB / 0.8537 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.5982, allocations: 37.45 kB / 0.8537 GB, free: 14.16 MB / 0.5762 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.000393/0.5986, allocations: 275.6 kB / 0.854 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.5988, allocations: 84.81 kB / 0.8541 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.6011, allocations: 1.067 MB / 0.8551 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.6011, allocations: 7.812 kB / 0.8551 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.6011, allocations: 3.984 kB / 0.8551 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6011, allocations: 6.859 kB / 0.8551 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.6042, allocations: 1.963 MB / 0.857 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6042, allocations: 3.938 kB / 0.857 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.6048, allocations: 149.7 kB / 0.8572 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.6053, allocations: 87.73 kB / 0.8573 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.6054, allocations: 24.52 kB / 0.8573 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.6072, allocations: 1.567 MB / 0.8588 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6073, allocations: 0 / 0.8588 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.6092, allocations: 0.9986 MB / 0.8598 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.6096, allocations: 288.3 kB / 0.8601 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6097, allocations: 14.94 kB / 0.8601 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.6104, allocations: 86.23 kB / 0.8602 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6105, allocations: 69.59 kB / 0.8602 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/0.6106, allocations: 38.31 kB / 0.8603 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000569/0.6112, allocations: 451.4 kB / 0.8607 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6112, allocations: 0 / 0.8607 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008397/0.612, allocations: 308.9 kB / 0.861 GB, free: 9.098 MB / 0.5762 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.001345/0.6134, allocations: 0.5998 MB / 0.8616 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.615, allocations: 0.836 MB / 0.8624 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.615, allocations: 7.938 kB / 0.8624 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.6159, allocations: 0.5248 MB / 0.8629 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6172, allocations: 266.7 kB / 0.8632 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.6211, allocations: 2.213 MB / 0.8653 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.6217, allocations: 1.011 MB / 0.8663 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008286/0.6226, allocations: 264.6 kB / 0.8666 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.6228, allocations: 103.4 kB / 0.8667 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.6228, allocations: 0 / 0.8667 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.02284/0.6457, allocations: 14.03 MB / 0.8804 GB, free: 7.434 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)