Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 99.36 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.001829/0.001829, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 278.7 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 92.48 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1689, allocations: 86.98 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005818/0.1748, allocations: 4.487 MB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4784/0.6532, allocations: 148.5 MB / 0.829 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009053/0.6542, allocations: 15.19 kB / 0.8291 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.6549, allocations: 139.7 kB / 0.8292 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.6567, allocations: 477.6 kB / 0.8297 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.6587, allocations: 0.7509 MB / 0.8304 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.6604, allocations: 1.372 MB / 0.8317 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009697/0.6614, allocations: 0.6339 MB / 0.8323 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008232/0.6622, allocations: 0.4918 MB / 0.8328 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.663, allocations: 0.5238 MB / 0.8333 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.6633, allocations: 120.1 kB / 0.8335 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.6644, allocations: 464.6 kB / 0.8339 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.6648, allocations: 313.8 kB / 0.8342 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007573/0.6656, allocations: 0.5632 MB / 0.8347 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.6674, allocations: 1.621 MB / 0.8363 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6674, allocations: 2.531 kB / 0.8363 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6674, allocations: 0 / 0.8363 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.6674, allocations: 1.281 kB / 0.8363 GB, free: 15.52 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002646/0.6701, allocations: 1.457 MB / 0.8378 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6701, allocations: 8.875 kB / 0.8378 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.671, allocations: 197.3 kB / 0.8379 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/0.672, allocations: 0.7664 MB / 0.8387 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.6721, allocations: 65.09 kB / 0.8388 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6722, allocations: 86.95 kB / 0.8388 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6737, allocations: 0.9604 MB / 0.8398 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6738, allocations: 4 kB / 0.8398 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.6739, allocations: 46.59 kB / 0.8398 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6739, allocations: 22.56 kB / 0.8398 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.6756, allocations: 1.153 MB / 0.841 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.6794, allocations: 2.665 MB / 0.8436 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6809, allocations: 0.8477 MB / 0.8444 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.6815, allocations: 323.5 kB / 0.8447 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.6815, allocations: 37.56 kB / 0.8448 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009589/0.6825, allocations: 0.5305 MB / 0.8453 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.675e-06/0.6825, allocations: 0 / 0.8453 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003197/0.6857, allocations: 1.288 MB / 0.8465 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.6859, allocations: 195.8 kB / 0.8467 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.6868, allocations: 0.6555 MB / 0.8474 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.6869, allocations: 42.7 kB / 0.8474 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.6872, allocations: 404.3 kB / 0.8478 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.6874, allocations: 286.5 kB / 0.8481 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.6877, allocations: 181.9 kB / 0.8482 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6879, allocations: 395.3 kB / 0.8486 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.6884, allocations: 287.2 kB / 0.8489 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.6891, allocations: 390.7 kB / 0.8493 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.6902, allocations: 0.6552 MB / 0.8499 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6902, allocations: 3.938 kB / 0.8499 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002051/0.6923, allocations: 0.9141 MB / 0.8508 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6923, allocations: 11.34 kB / 0.8508 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6923, allocations: 8.031 kB / 0.8508 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.6929, allocations: 80.8 kB / 0.8509 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.6937, allocations: 185.1 kB / 0.8511 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.6957, allocations: 1.626 MB / 0.8526 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/0.6966, allocations: 97.59 kB / 0.8527 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.6967, allocations: 39.34 kB / 0.8528 GB, free: 5.922 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0004337/0.6971, allocations: 285.9 kB / 0.853 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.6973, allocations: 85.5 kB / 0.8531 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.6999, allocations: 1.163 MB / 0.8543 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6999, allocations: 13.81 kB / 0.8543 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6999, allocations: 2.406 kB / 0.8543 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6999, allocations: 3.984 kB / 0.8543 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.701, allocations: 0.9496 MB / 0.8552 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.701, allocations: 4 kB / 0.8552 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.7016, allocations: 156.9 kB / 0.8554 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.7021, allocations: 74.75 kB / 0.8554 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.7022, allocations: 27.38 kB / 0.8555 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.704, allocations: 1.653 MB / 0.8571 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.704, allocations: 0 / 0.8571 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.706, allocations: 1.003 MB / 0.8581 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.7064, allocations: 282.4 kB / 0.8583 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7065, allocations: 24.83 kB / 0.8584 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.7072, allocations: 68.59 kB / 0.8584 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.7074, allocations: 80.5 kB / 0.8585 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.7075, allocations: 36.88 kB / 0.8585 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005742/0.7081, allocations: 481.6 kB / 0.859 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7081, allocations: 0 / 0.859 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000873/0.7089, allocations: 326.9 kB / 0.8593 GB, free: 1.336 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001411/0.7104, allocations: 0.6141 MB / 0.8599 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.7129, allocations: 1.103 MB / 0.861 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7129, allocations: 5.484 kB / 0.861 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.7139, allocations: 0.5474 MB / 0.8615 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.7151, allocations: 302.3 kB / 0.8618 GB, free: 100 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.7192, allocations: 2.278 MB / 0.864 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.7198, allocations: 1.036 MB / 0.865 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.7207, allocations: 273.4 kB / 0.8653 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.721, allocations: 121.2 kB / 0.8654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.721, allocations: 0 / 0.8654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Templates: time 0.02564/0.7466, allocations: 15.41 MB / 0.8805 GB, free: 1.605 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)