Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001354/0.001354, allocations: 195.6 kB / 16.14 MB, free: 6.688 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002738/0.002738, allocations: 287.2 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 104.3 kB / 0.6057 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1968, allocations: 89.16 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009818/0.2066, allocations: 6.997 MB / 0.6996 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5345/0.7412, allocations: 148.8 MB / 0.845 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.7423, allocations: 17.69 kB / 0.845 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.7431, allocations: 203.1 kB / 0.8452 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.7452, allocations: 0.6667 MB / 0.8458 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.7474, allocations: 0.8933 MB / 0.8467 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.7497, allocations: 1.948 MB / 0.8486 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.7512, allocations: 1.076 MB / 0.8497 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.7522, allocations: 0.7193 MB / 0.8504 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.7532, allocations: 0.8134 MB / 0.8512 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.7533, allocations: 116.2 kB / 0.8513 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.7543, allocations: 456.4 kB / 0.8517 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.7547, allocations: 391.6 kB / 0.8521 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.7556, allocations: 0.8709 MB / 0.8529 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.758, allocations: 2.524 MB / 0.8554 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7581, allocations: 0 / 0.8554 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7581, allocations: 0 / 0.8554 GB, free: 284 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.7581, allocations: 0 / 0.8554 GB, free: 284 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003935/0.762, allocations: 2.048 MB / 0.8574 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7621, allocations: 9.844 kB / 0.8574 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7631, allocations: 257.4 kB / 0.8577 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.7646, allocations: 0.9731 MB / 0.8586 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.7648, allocations: 141.4 kB / 0.8587 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.7649, allocations: 154.6 kB / 0.8589 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.7676, allocations: 1.589 MB / 0.8604 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.7677, allocations: 3.938 kB / 0.8604 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.7678, allocations: 63.75 kB / 0.8605 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.7679, allocations: 41.38 kB / 0.8605 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.7705, allocations: 1.593 MB / 0.8621 GB, free: 11.86 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.00751/0.778, allocations: 4.727 MB / 0.8667 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.78, allocations: 1.093 MB / 0.8678 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.7807, allocations: 436.1 kB / 0.8682 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.569e-05/0.7808, allocations: 44.77 kB / 0.8682 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.7822, allocations: 0.7002 MB / 0.8689 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 2.866e-06/0.7822, allocations: 0 / 0.8689 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.004205/0.7864, allocations: 1.658 MB / 0.8705 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.7865, allocations: 192.9 kB / 0.8707 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7877, allocations: 0.8414 MB / 0.8716 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.7879, allocations: 53.7 kB / 0.8716 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.7884, allocations: 0.6245 MB / 0.8722 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.7888, allocations: 358.9 kB / 0.8726 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.7892, allocations: 222.8 kB / 0.8728 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.7894, allocations: 345.9 kB / 0.8731 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.7902, allocations: 402.4 kB / 0.8735 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/0.7911, allocations: 0.511 MB / 0.874 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.7928, allocations: 0.8877 MB / 0.8748 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7928, allocations: 0 / 0.8748 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002815/0.7956, allocations: 1.211 MB / 0.876 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.7957, allocations: 4 kB / 0.876 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.7957, allocations: 1.875 kB / 0.876 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.7963, allocations: 88.83 kB / 0.8761 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.7974, allocations: 227.7 kB / 0.8763 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.7997, allocations: 1.549 MB / 0.8778 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8008, allocations: 146.9 kB / 0.878 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.801, allocations: 53.77 kB / 0.878 GB, free: 13.72 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007589/0.8017, allocations: 348.2 kB / 0.8784 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.802, allocations: 114.6 kB / 0.8785 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.8055, allocations: 1.543 MB / 0.88 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.8056, allocations: 16 kB / 0.88 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8056, allocations: 0 / 0.88 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.8056, allocations: 3.984 kB / 0.88 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.8075, allocations: 1.376 MB / 0.8814 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.8075, allocations: 0 / 0.8814 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.8083, allocations: 199.1 kB / 0.8815 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.8089, allocations: 92.7 kB / 0.8816 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.809, allocations: 35.97 kB / 0.8817 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.8111, allocations: 1.567 MB / 0.8832 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8111, allocations: 0 / 0.8832 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.8138, allocations: 1.277 MB / 0.8844 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/0.8144, allocations: 355.3 kB / 0.8848 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.8146, allocations: 35.84 kB / 0.8848 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.8155, allocations: 93.56 kB / 0.8849 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.8158, allocations: 101.1 kB / 0.885 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.8159, allocations: 52.03 kB / 0.885 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009351/0.8168, allocations: 0.6213 MB / 0.8857 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8169, allocations: 4 kB / 0.8857 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001295/0.8182, allocations: 474.5 kB / 0.8861 GB, free: 5.191 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002013/0.8202, allocations: 0.6219 MB / 0.8867 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.8226, allocations: 1.15 MB / 0.8878 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8226, allocations: 0 / 0.8878 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.8239, allocations: 0.6777 MB / 0.8885 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.8253, allocations: 317.8 kB / 0.8888 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.8303, allocations: 3.181 MB / 0.8919 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/0.8313, allocations: 1.224 MB / 0.8931 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001141/0.8324, allocations: 313.3 kB / 0.8934 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.8328, allocations: 143.3 kB / 0.8935 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.8328, allocations: 0 / 0.8935 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.03671/0.8695, allocations: 19.73 MB / 0.9128 GB, free: 10.18 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)