Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001222/0.001222, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001259/0.00126, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6796/0.6796, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 66.5 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 76.19 MB / 0.6327 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006779/0.1612, allocations: 4.953 MB / 0.6376 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5036/0.6648, allocations: 150.8 MB / 0.7848 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.6657, allocations: 18.78 kB / 0.7848 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.6662, allocations: 197.8 kB / 0.785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.6678, allocations: 0.5772 MB / 0.7856 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.6695, allocations: 0.8501 MB / 0.7864 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.6708, allocations: 1.458 MB / 0.7878 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.6716, allocations: 0.584 MB / 0.7884 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007147/0.6723, allocations: 0.519 MB / 0.7889 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.6729, allocations: 0.5298 MB / 0.7894 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.673, allocations: 120 kB / 0.7896 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.6738, allocations: 496.6 kB / 0.79 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.6741, allocations: 305.1 kB / 0.7903 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.6746, allocations: 0.5925 MB / 0.7909 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.6762, allocations: 1.681 MB / 0.7925 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6762, allocations: 0 / 0.7925 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.175e-06/0.6762, allocations: 2.781 kB / 0.7925 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.6762, allocations: 0 / 0.7925 GB, free: 13.52 MB / 0.5919 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.002475/0.6787, allocations: 1.479 MB / 0.794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6788, allocations: 8.344 kB / 0.794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/0.6796, allocations: 193.8 kB / 0.7942 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.6807, allocations: 0.7834 MB / 0.7949 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.6808, allocations: 72.19 kB / 0.795 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6809, allocations: 85.5 kB / 0.7951 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.6823, allocations: 0.9655 MB / 0.796 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6824, allocations: 0 / 0.796 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/0.6825, allocations: 41.16 kB / 0.7961 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.6825, allocations: 21.53 kB / 0.7961 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.6841, allocations: 1.157 MB / 0.7972 GB, free: 12.12 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.003801/0.6879, allocations: 2.853 MB / 0.8 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.6893, allocations: 0.85 MB / 0.8008 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.6898, allocations: 328.2 kB / 0.8012 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.6899, allocations: 36 kB / 0.8012 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008401/0.6907, allocations: 0.5303 MB / 0.8017 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.394e-06/0.6907, allocations: 0 / 0.8017 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003205/0.694, allocations: 1.299 MB / 0.803 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.6941, allocations: 198.6 kB / 0.8032 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.6949, allocations: 0.6525 MB / 0.8038 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.695, allocations: 44.45 kB / 0.8038 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.6954, allocations: 405.2 kB / 0.8042 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.6956, allocations: 284.2 kB / 0.8045 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.6958, allocations: 175.4 kB / 0.8047 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.696, allocations: 392.8 kB / 0.805 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.6965, allocations: 296 kB / 0.8053 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.6971, allocations: 391.5 kB / 0.8057 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6982, allocations: 0.6549 MB / 0.8063 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6982, allocations: 2.781 kB / 0.8063 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001903/0.7001, allocations: 0.9215 MB / 0.8072 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7001, allocations: 6.625 kB / 0.8072 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7001, allocations: 6.312 kB / 0.8073 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.7007, allocations: 82.73 kB / 0.8073 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.7014, allocations: 176 kB / 0.8075 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.7035, allocations: 1.634 MB / 0.8091 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/0.7044, allocations: 100.5 kB / 0.8092 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.7044, allocations: 40.84 kB / 0.8092 GB, free: 6.734 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.0005195/0.705, allocations: 280.1 kB / 0.8095 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.7052, allocations: 89.53 kB / 0.8096 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.7076, allocations: 1.156 MB / 0.8107 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7076, allocations: 14.31 kB / 0.8107 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7076, allocations: 7.938 kB / 0.8107 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.7076, allocations: 7.969 kB / 0.8107 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.7087, allocations: 0.9304 MB / 0.8117 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7087, allocations: 3.938 kB / 0.8117 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.7093, allocations: 158.5 kB / 0.8118 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/0.7098, allocations: 74.25 kB / 0.8119 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.7098, allocations: 26.42 kB / 0.8119 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.7116, allocations: 1.662 MB / 0.8135 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7116, allocations: 0 / 0.8135 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.7137, allocations: 0.9928 MB / 0.8145 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.7141, allocations: 288 kB / 0.8148 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.7142, allocations: 20.88 kB / 0.8148 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.7149, allocations: 65.08 kB / 0.8149 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.715, allocations: 83.89 kB / 0.8149 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.7151, allocations: 37.27 kB / 0.815 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005599/0.7157, allocations: 481.3 kB / 0.8154 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7157, allocations: 0 / 0.8154 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008101/0.7165, allocations: 339.4 kB / 0.8157 GB, free: 2.168 MB / 0.5919 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.001301/0.7178, allocations: 0.6078 MB / 0.8163 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.7195, allocations: 0.9014 MB / 0.8172 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7195, allocations: 0 / 0.8172 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.7204, allocations: 0.5505 MB / 0.8178 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.7216, allocations: 306.7 kB / 0.8181 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.7244, allocations: 1.765 MB / 0.8198 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.7249, allocations: 1.039 MB / 0.8208 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.7252, allocations: 126.3 kB / 0.8209 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.7252, allocations: 1.906 kB / 0.8209 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.02453/0.7498, allocations: 19.43 MB / 0.8399 GB, free: 15.18 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)