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.001626/0.001626, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002624/0.002624, allocations: 283 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.223/1.223, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 102.7 kB / 0.6064 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1873, allocations: 89.14 MB / 0.6935 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007514/0.1948, allocations: 4.969 MB / 0.6983 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4813/0.6762, allocations: 150.8 MB / 0.8456 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.6773, allocations: 23.69 kB / 0.8456 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.678, allocations: 195.7 kB / 0.8458 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.6799, allocations: 0.5747 MB / 0.8464 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.6819, allocations: 0.8402 MB / 0.8472 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.6835, allocations: 1.442 MB / 0.8486 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.6843, allocations: 0.5903 MB / 0.8492 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006464/0.685, allocations: 0.4999 MB / 0.8497 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.6856, allocations: 0.5329 MB / 0.8502 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.6857, allocations: 120.6 kB / 0.8503 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.6866, allocations: 469.1 kB / 0.8508 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.6869, allocations: 311.6 kB / 0.8511 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005172/0.6874, allocations: 0.59 MB / 0.8516 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.6892, allocations: 1.64 MB / 0.8532 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6892, allocations: 2.625 kB / 0.8532 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6892, allocations: 0 / 0.8532 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.6892, allocations: 0 / 0.8532 GB, free: 1.945 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.002622/0.6919, allocations: 1.476 MB / 0.8547 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6919, allocations: 11.03 kB / 0.8547 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.6928, allocations: 190.9 kB / 0.8549 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6939, allocations: 0.7679 MB / 0.8556 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.694, allocations: 67.38 kB / 0.8557 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.6941, allocations: 87.88 kB / 0.8558 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6957, allocations: 0.9637 MB / 0.8567 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.6957, allocations: 3.938 kB / 0.8567 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.6958, allocations: 38.5 kB / 0.8568 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.6958, allocations: 20.03 kB / 0.8568 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.6976, allocations: 1.156 MB / 0.8579 GB, free: 14.8 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.7019, allocations: 2.885 MB / 0.8607 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.7034, allocations: 0.8443 MB / 0.8615 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/0.704, allocations: 327.3 kB / 0.8619 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.7041, allocations: 32.03 kB / 0.8619 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009762/0.7051, allocations: 0.5366 MB / 0.8624 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.394e-06/0.7051, allocations: 0 / 0.8624 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003378/0.7085, allocations: 1.292 MB / 0.8637 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.7086, allocations: 190.5 kB / 0.8639 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.7094, allocations: 0.6591 MB / 0.8645 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.7095, allocations: 47.55 kB / 0.8645 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.7099, allocations: 403.9 kB / 0.8649 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.7101, allocations: 285.3 kB / 0.8652 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.7104, allocations: 178.3 kB / 0.8654 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.7106, allocations: 392.2 kB / 0.8657 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.7112, allocations: 288.3 kB / 0.866 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.7118, allocations: 400.2 kB / 0.8664 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.713, allocations: 0.6529 MB / 0.867 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7131, allocations: 6.094 kB / 0.867 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002052/0.7151, allocations: 0.9163 MB / 0.8679 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7152, allocations: 7.594 kB / 0.868 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7152, allocations: 3.938 kB / 0.868 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.7158, allocations: 89.78 kB / 0.868 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.7165, allocations: 174.6 kB / 0.8682 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.7189, allocations: 1.636 MB / 0.8698 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.7198, allocations: 103.1 kB / 0.8699 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.7199, allocations: 41.22 kB / 0.8699 GB, free: 6.16 MB / 0.5919 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.0005009/0.7204, allocations: 275.3 kB / 0.8702 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.7206, allocations: 89.83 kB / 0.8703 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.7234, allocations: 1.159 MB / 0.8714 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.7234, allocations: 15.94 kB / 0.8714 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.7234, allocations: 0 / 0.8714 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.7234, allocations: 7.984 kB / 0.8714 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.7247, allocations: 0.9464 MB / 0.8724 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7247, allocations: 0 / 0.8724 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/0.7254, allocations: 159.7 kB / 0.8725 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/0.7259, allocations: 72.78 kB / 0.8726 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.7259, allocations: 31.97 kB / 0.8726 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.728, allocations: 1.666 MB / 0.8742 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.728, allocations: 0 / 0.8742 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.7302, allocations: 0.9941 MB / 0.8752 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.7306, allocations: 279.7 kB / 0.8755 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.7307, allocations: 20 kB / 0.8755 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.7313, allocations: 71.92 kB / 0.8756 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.7315, allocations: 76.83 kB / 0.8756 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.7316, allocations: 35.98 kB / 0.8757 GB, free: 132 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006292/0.7322, allocations: 483.1 kB / 0.8761 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7322, allocations: 0 / 0.8761 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008915/0.7331, allocations: 339.2 kB / 0.8765 GB, free: 15.33 MB / 0.6075 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.001914/0.7351, allocations: 0.6103 MB / 0.8771 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002618/0.7377, allocations: 1.12 MB / 0.8782 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7377, allocations: 0 / 0.8782 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7387, allocations: 0.5509 MB / 0.8787 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.7399, allocations: 300 kB / 0.879 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.743, allocations: 1.744 MB / 0.8807 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.7436, allocations: 1.04 MB / 0.8817 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008275/0.7445, allocations: 279.1 kB / 0.882 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.7448, allocations: 115.4 kB / 0.8821 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.7448, allocations: 0 / 0.8821 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.02896/0.7737, allocations: 15.96 MB / 0.8977 GB, free: 9.973 MB / 0.6231 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)