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.001374/0.001374, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001671/0.001671, allocations: 195.5 kB / 16.25 MB, free: 6.617 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 286.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9657/0.9657, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 93.72 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1529, allocations: 86.98 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00563/0.1586, allocations: 4.31 MB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4283/0.5869, allocations: 148.3 MB / 0.8287 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.5877, allocations: 15.22 kB / 0.8287 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.5882, allocations: 142.4 kB / 0.8288 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.5896, allocations: 450.3 kB / 0.8293 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.5912, allocations: 0.7385 MB / 0.83 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.5922, allocations: 1.302 MB / 0.8312 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.593, allocations: 0.6235 MB / 0.8319 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.5935, allocations: 483.3 kB / 0.8323 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.594, allocations: 496.5 kB / 0.8328 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.5941, allocations: 117.1 kB / 0.8329 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.5949, allocations: 462.4 kB / 0.8333 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.5952, allocations: 295.5 kB / 0.8336 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.5956, allocations: 0.5395 MB / 0.8341 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.5971, allocations: 1.577 MB / 0.8357 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5971, allocations: 0 / 0.8357 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5971, allocations: 0 / 0.8357 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.5972, allocations: 0 / 0.8357 GB, free: 15.59 MB / 0.5762 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.002447/0.5996, allocations: 1.406 MB / 0.8371 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5997, allocations: 9.5 kB / 0.8371 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.6006, allocations: 182.2 kB / 0.8372 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009573/0.6016, allocations: 0.7437 MB / 0.838 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.6016, allocations: 60.38 kB / 0.838 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6018, allocations: 84.92 kB / 0.8381 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.6032, allocations: 0.9184 MB / 0.839 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.6033, allocations: 5.531 kB / 0.839 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/0.6034, allocations: 35.5 kB / 0.839 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.6034, allocations: 19.88 kB / 0.8391 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.605, allocations: 1.106 MB / 0.8401 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.6088, allocations: 2.533 MB / 0.8426 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.6104, allocations: 0.8809 MB / 0.8435 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.6109, allocations: 317.7 kB / 0.8438 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/0.611, allocations: 31.62 kB / 0.8438 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009712/0.612, allocations: 0.4938 MB / 0.8443 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.475e-06/0.612, allocations: 0 / 0.8443 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003053/0.6151, allocations: 1.186 MB / 0.8455 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.6152, allocations: 190 kB / 0.8456 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.6161, allocations: 0.6301 MB / 0.8462 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.6162, allocations: 43.2 kB / 0.8463 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.6165, allocations: 394.4 kB / 0.8467 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.6168, allocations: 247.8 kB / 0.8469 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.617, allocations: 166.9 kB / 0.8471 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6172, allocations: 388.6 kB / 0.8474 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.6177, allocations: 274.8 kB / 0.8477 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.6183, allocations: 354.5 kB / 0.848 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6194, allocations: 0.6112 MB / 0.8486 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6194, allocations: 0 / 0.8486 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001944/0.6213, allocations: 0.8422 MB / 0.8495 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6214, allocations: 9.047 kB / 0.8495 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.6214, allocations: 5 kB / 0.8495 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.622, allocations: 88.78 kB / 0.8495 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.6226, allocations: 161.5 kB / 0.8497 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.6247, allocations: 1.638 MB / 0.8513 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.6255, allocations: 96.06 kB / 0.8514 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.6256, allocations: 28.48 kB / 0.8514 GB, free: 6.473 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.0004195/0.626, allocations: 285.3 kB / 0.8517 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.6262, allocations: 78.69 kB / 0.8518 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.6285, allocations: 1.065 MB / 0.8528 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6286, allocations: 10.12 kB / 0.8528 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6286, allocations: 0 / 0.8528 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6286, allocations: 11.91 kB / 0.8528 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.6317, allocations: 1.951 MB / 0.8547 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6317, allocations: 0 / 0.8547 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.6323, allocations: 140.6 kB / 0.8549 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.6328, allocations: 72.06 kB / 0.8549 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.6329, allocations: 26.02 kB / 0.855 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.6349, allocations: 1.677 MB / 0.8566 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6349, allocations: 2.75 kB / 0.8566 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.6369, allocations: 0.9917 MB / 0.8576 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.6373, allocations: 276.9 kB / 0.8578 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.6375, allocations: 26.86 kB / 0.8579 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.6382, allocations: 58.78 kB / 0.8579 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.6383, allocations: 65.62 kB / 0.858 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.6384, allocations: 38.38 kB / 0.858 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005468/0.639, allocations: 454 kB / 0.8584 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.639, allocations: 4 kB / 0.8585 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009388/0.6399, allocations: 304 kB / 0.8587 GB, free: 1.352 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.001484/0.6414, allocations: 0.6048 MB / 0.8593 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002296/0.6437, allocations: 1.024 MB / 0.8603 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6438, allocations: 2.719 kB / 0.8603 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.6447, allocations: 0.5163 MB / 0.8608 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6459, allocations: 308 kB / 0.8611 GB, free: 164 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.65, allocations: 2.155 MB / 0.8632 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.6506, allocations: 1.019 MB / 0.8642 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000838/0.6515, allocations: 256.9 kB / 0.8645 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.6518, allocations: 109.6 kB / 0.8646 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6518, allocations: 0 / 0.8646 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.02454/0.6763, allocations: 14.63 MB / 0.8789 GB, free: 2.859 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)