Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8184/0.8184, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 404.7 MB, free: 6.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.05 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009859/0.000986, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1311, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006429/0.1376, allocations: 4.907 MB / 0.6469 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.422/0.5596, allocations: 148.6 MB / 0.792 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.5604, allocations: 19.88 kB / 0.792 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.561, allocations: 153.4 kB / 0.7922 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.5624, allocations: 499.5 kB / 0.7927 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.5642, allocations: 0.7778 MB / 0.7934 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.5655, allocations: 1.492 MB / 0.7949 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.5668, allocations: 1.023 MB / 0.7959 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.5675, allocations: 0.6106 MB / 0.7965 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006494/0.5681, allocations: 0.6959 MB / 0.7972 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5683, allocations: 104 kB / 0.7973 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.5691, allocations: 443.6 kB / 0.7977 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.5694, allocations: 354.6 kB / 0.798 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.57, allocations: 0.703 MB / 0.7987 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.5718, allocations: 2.064 MB / 0.8007 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5718, allocations: 0 / 0.8007 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5719, allocations: 0 / 0.8007 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.5719, allocations: 0 / 0.8007 GB, free: 14.66 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002807/0.5747, allocations: 1.78 MB / 0.8025 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5747, allocations: 11.78 kB / 0.8025 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009214/0.5757, allocations: 242.9 kB / 0.8027 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5768, allocations: 0.8762 MB / 0.8036 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.5769, allocations: 102.9 kB / 0.8037 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5771, allocations: 140 kB / 0.8038 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.5792, allocations: 1.432 MB / 0.8052 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.5792, allocations: 0.5 kB / 0.8052 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5794, allocations: 64 kB / 0.8052 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5794, allocations: 32 kB / 0.8053 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.5817, allocations: 1.517 MB / 0.8068 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/0.5875, allocations: 3.786 MB / 0.8105 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5891, allocations: 0.9614 MB / 0.8114 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.5898, allocations: 391.7 kB / 0.8118 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.5899, allocations: 52.98 kB / 0.8118 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.5909, allocations: 0.5748 MB / 0.8124 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=104): time 4.679e-06/0.591, allocations: 3.984 kB / 0.8124 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=104): time 0.003581/0.5945, allocations: 1.481 MB / 0.8138 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.5947, allocations: 188.9 kB / 0.814 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/0.5956, allocations: 0.7629 MB / 0.8148 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.5956, allocations: 45.7 kB / 0.8148 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.596, allocations: 0.5583 MB / 0.8153 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.5963, allocations: 343 kB / 0.8157 GB, free: 15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.5966, allocations: 218.7 kB / 0.8159 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5967, allocations: 349.9 kB / 0.8162 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.5974, allocations: 358.4 kB / 0.8166 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.5982, allocations: 474.2 kB / 0.817 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.5996, allocations: 0.8234 MB / 0.8178 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5996, allocations: 0 / 0.8178 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002361/0.602, allocations: 1.114 MB / 0.8189 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.602, allocations: 8.031 kB / 0.8189 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6021, allocations: 0 / 0.8189 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.6027, allocations: 92.7 kB / 0.819 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.6036, allocations: 223.7 kB / 0.8192 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.6056, allocations: 1.532 MB / 0.8207 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008181/0.6064, allocations: 116.1 kB / 0.8208 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.6065, allocations: 43.97 kB / 0.8209 GB, free: 9.496 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.0005123/0.607, allocations: 323 kB / 0.8212 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.6072, allocations: 106.7 kB / 0.8213 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.6103, allocations: 1.384 MB / 0.8226 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6103, allocations: 12 kB / 0.8226 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6103, allocations: 0 / 0.8226 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.6103, allocations: 7.969 kB / 0.8226 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.6144, allocations: 2.566 MB / 0.8251 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6144, allocations: 0 / 0.8251 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.6152, allocations: 199.5 kB / 0.8253 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.6157, allocations: 80.78 kB / 0.8254 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.6158, allocations: 27.98 kB / 0.8254 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.6175, allocations: 1.563 MB / 0.827 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6175, allocations: 0 / 0.827 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.621, allocations: 2.357 MB / 0.8293 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.6214, allocations: 319.6 kB / 0.8296 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.6215, allocations: 31.84 kB / 0.8296 GB, free: 248 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.6222, allocations: 63.98 kB / 0.8297 GB, free: 184 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.6224, allocations: 76.89 kB / 0.8297 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.6225, allocations: 35.98 kB / 0.8298 GB, free: 72 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007239/0.6232, allocations: 0.5771 MB / 0.8303 GB, free: 15.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6233, allocations: 4 kB / 0.8303 GB, free: 15.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001046/0.6243, allocations: 402.7 kB / 0.8307 GB, free: 15.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001256/0.6256, allocations: 0.6079 MB / 0.8313 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.6275, allocations: 1.038 MB / 0.8323 GB, free: 13.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6275, allocations: 4 kB / 0.8323 GB, free: 13.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.6286, allocations: 0.6017 MB / 0.8329 GB, free: 13 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.6298, allocations: 280.9 kB / 0.8332 GB, free: 12.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/0.6355, allocations: 3.554 MB / 0.8367 GB, free: 9.137 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.6362, allocations: 1.2 MB / 0.8378 GB, free: 7.906 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001068/0.6373, allocations: 304.2 kB / 0.8381 GB, free: 7.605 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.6377, allocations: 131.4 kB / 0.8382 GB, free: 7.477 MB / 0.573 GB Notification: Performance of SimCode: time 1.433e-06/0.6377, allocations: 0 / 0.8382 GB, free: 7.477 MB / 0.573 GB Notification: Performance of Templates: time 0.02935/0.667, allocations: 17.58 MB / 0.8554 GB, free: 6.008 MB / 0.5886 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)