Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 97.28 kB / 15.69 MB, free: 480 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.001071/0.001071, allocations: 175.1 kB / 16.57 MB, free: 6.398 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.345/1.345, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8439/0.8439, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 77.16 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005264/0.1582, allocations: 4.544 MB / 0.5613 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5008/0.659, allocations: 128.1 MB / 0.6863 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.6603, allocations: 23.88 kB / 0.6864 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.6608, allocations: 99.05 kB / 0.6865 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.6632, allocations: 0.6557 MB / 0.6871 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.6653, allocations: 0.7178 MB / 0.6878 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002399/0.6678, allocations: 1.154 MB / 0.6889 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.669, allocations: 0.8297 MB / 0.6897 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009815/0.67, allocations: 0.5561 MB / 0.6903 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.6707, allocations: 0.5596 MB / 0.6908 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.6708, allocations: 40 kB / 0.6909 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.6717, allocations: 323.6 kB / 0.6912 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.6719, allocations: 270.8 kB / 0.6914 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.6723, allocations: 296.8 kB / 0.6917 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.6742, allocations: 1.81 MB / 0.6935 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6742, allocations: 4 kB / 0.6935 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6742, allocations: 3.938 kB / 0.6935 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.6743, allocations: 0 / 0.6935 GB, free: 13.92 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003643/0.6779, allocations: 1.705 MB / 0.6952 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.678, allocations: 12.03 kB / 0.6952 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.679, allocations: 261.6 kB / 0.6954 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.6806, allocations: 0.942 MB / 0.6963 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.47e-05/0.6807, allocations: 115.1 kB / 0.6964 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.6809, allocations: 148 kB / 0.6966 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.6836, allocations: 1.561 MB / 0.6981 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.6837, allocations: 3.984 kB / 0.6981 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.6838, allocations: 64 kB / 0.6982 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.6839, allocations: 36 kB / 0.6982 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.6865, allocations: 1.639 MB / 0.6998 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007147/0.6937, allocations: 4.179 MB / 0.7039 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.6959, allocations: 1.182 MB / 0.705 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.6961, allocations: 44.92 kB / 0.7051 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.6974, allocations: 0.7804 MB / 0.7059 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=128): time 2.775e-06/0.6974, allocations: 0 / 0.7059 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=128): time 0.00422/0.7017, allocations: 1.843 MB / 0.7077 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.7018, allocations: 201.2 kB / 0.7078 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.703, allocations: 0.8538 MB / 0.7087 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.7031, allocations: 53.7 kB / 0.7087 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.7036, allocations: 0.6092 MB / 0.7093 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.704, allocations: 410.1 kB / 0.7097 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.7041, allocations: 20 kB / 0.7097 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7043, allocations: 353.9 kB / 0.7101 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/0.7051, allocations: 426.4 kB / 0.7105 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/0.706, allocations: 0.5526 MB / 0.711 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.7069, allocations: 482.3 kB / 0.7115 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7069, allocations: 0 / 0.7115 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002686/0.7096, allocations: 1.293 MB / 0.7127 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7096, allocations: 8 kB / 0.7127 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7096, allocations: 3.984 kB / 0.7128 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.7102, allocations: 88.83 kB / 0.7128 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.7113, allocations: 255.7 kB / 0.7131 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.7133, allocations: 1.544 MB / 0.7146 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.7145, allocations: 165.6 kB / 0.7147 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.7146, allocations: 55.95 kB / 0.7148 GB, free: 7.535 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000695/0.7153, allocations: 352.4 kB / 0.7151 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.7156, allocations: 118.5 kB / 0.7152 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.7191, allocations: 1.729 MB / 0.7169 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7191, allocations: 20 kB / 0.717 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7191, allocations: 0 / 0.717 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.7191, allocations: 7.938 kB / 0.717 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.721, allocations: 1.408 MB / 0.7183 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.721, allocations: 4 kB / 0.7183 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009416/0.722, allocations: 215.7 kB / 0.7185 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/0.7225, allocations: 84.78 kB / 0.7186 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.7226, allocations: 43.95 kB / 0.7187 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.7247, allocations: 1.571 MB / 0.7202 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7247, allocations: 3.953 kB / 0.7202 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.7279, allocations: 1.41 MB / 0.7216 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/0.7288, allocations: 402.9 kB / 0.722 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.729, allocations: 39.94 kB / 0.722 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.73, allocations: 108.5 kB / 0.7221 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.7302, allocations: 113.1 kB / 0.7222 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.7303, allocations: 51.97 kB / 0.7223 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009168/0.7313, allocations: 0.6386 MB / 0.7229 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7313, allocations: 0 / 0.7229 GB, free: 14.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001241/0.7325, allocations: 462.6 kB / 0.7233 GB, free: 14.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.734, allocations: 0.628 MB / 0.7239 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.7363, allocations: 1.232 MB / 0.7252 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.7364, allocations: 4 kB / 0.7252 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.7376, allocations: 0.7363 MB / 0.7259 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.7389, allocations: 260.5 kB / 0.7261 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.7448, allocations: 3.319 MB / 0.7294 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.7457, allocations: 1.272 MB / 0.7306 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001274/0.747, allocations: 326 kB / 0.7309 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.7474, allocations: 167.3 kB / 0.7311 GB, free: 6.688 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.7474, allocations: 0 / 0.7311 GB, free: 6.688 MB / 0.545 GB Notification: Performance of Templates: time 0.03312/0.7805, allocations: 19.02 MB / 0.7496 GB, free: 3.848 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)