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.001919/0.001919, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.002098/0.002098, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 293.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9805/0.9805, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 95.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5442, allocations: 86.98 MB / 0.767 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007255/0.5514, allocations: 4.482 MB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1983/0.7498, allocations: 151.2 MB / 0.9191 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.7508, allocations: 15.94 kB / 0.9191 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.7515, allocations: 182.3 kB / 0.9192 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.7536, allocations: 0.5417 MB / 0.9198 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.7559, allocations: 0.8357 MB / 0.9206 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.7577, allocations: 1.371 MB / 0.9219 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008103/0.7585, allocations: 469 kB / 0.9224 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.7594, allocations: 0.5021 MB / 0.9229 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.76, allocations: 0.5173 MB / 0.9234 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.7602, allocations: 124 kB / 0.9235 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.7613, allocations: 487.6 kB / 0.924 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.7616, allocations: 311 kB / 0.9243 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.7622, allocations: 0.5674 MB / 0.9248 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.7646, allocations: 1.66 MB / 0.9264 GB, free: 168 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7646, allocations: 0 / 0.9264 GB, free: 168 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7646, allocations: 0 / 0.9264 GB, free: 168 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.7646, allocations: 0 / 0.9264 GB, free: 168 kB / 0.6856 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.003019/0.7676, allocations: 1.516 MB / 0.9279 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7676, allocations: 8.031 kB / 0.9279 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.7687, allocations: 192 kB / 0.9281 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.77, allocations: 0.7903 MB / 0.9289 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.7701, allocations: 73.97 kB / 0.9289 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.7702, allocations: 84 kB / 0.929 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.772, allocations: 0.9613 MB / 0.93 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.772, allocations: 7.938 kB / 0.93 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.7721, allocations: 43.92 kB / 0.93 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.7721, allocations: 20 kB / 0.93 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.7741, allocations: 1.155 MB / 0.9312 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.7786, allocations: 2.649 MB / 0.9337 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.7803, allocations: 0.7979 MB / 0.9345 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.7809, allocations: 290.7 kB / 0.9348 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.498e-05/0.7809, allocations: 40.62 kB / 0.9348 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009937/0.7819, allocations: 0.5394 MB / 0.9354 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 3.277e-06/0.7819, allocations: 0 / 0.9354 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003553/0.7855, allocations: 1.29 MB / 0.9366 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.7856, allocations: 196.8 kB / 0.9368 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.7866, allocations: 0.6567 MB / 0.9375 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.7867, allocations: 45.7 kB / 0.9375 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.7871, allocations: 409.2 kB / 0.9379 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.7873, allocations: 293.5 kB / 0.9382 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.7876, allocations: 186.5 kB / 0.9383 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.7879, allocations: 390.8 kB / 0.9387 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.7885, allocations: 285.8 kB / 0.939 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.7892, allocations: 395.1 kB / 0.9394 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.7905, allocations: 0.6516 MB / 0.94 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.7905, allocations: 7.938 kB / 0.94 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002305/0.7928, allocations: 0.9234 MB / 0.9409 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7928, allocations: 7.938 kB / 0.9409 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7928, allocations: 0 / 0.9409 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.7934, allocations: 84.83 kB / 0.941 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.7942, allocations: 171.8 kB / 0.9412 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.7967, allocations: 1.638 MB / 0.9428 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/0.7976, allocations: 107.4 kB / 0.9429 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.7977, allocations: 43.89 kB / 0.9429 GB, free: 14.76 MB / 0.7169 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.0005398/0.7983, allocations: 274.3 kB / 0.9432 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.7984, allocations: 87.44 kB / 0.9433 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.8012, allocations: 1.156 MB / 0.9444 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.8012, allocations: 12 kB / 0.9444 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.8012, allocations: 0 / 0.9444 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.8012, allocations: 3.984 kB / 0.9444 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.8025, allocations: 0.9348 MB / 0.9453 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8025, allocations: 4 kB / 0.9453 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/0.8032, allocations: 167.7 kB / 0.9455 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.8036, allocations: 68.8 kB / 0.9455 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.8037, allocations: 31.91 kB / 0.9456 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.8058, allocations: 1.658 MB / 0.9472 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.8058, allocations: 3.938 kB / 0.9472 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.8081, allocations: 1.006 MB / 0.9482 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.8085, allocations: 284.2 kB / 0.9485 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.8086, allocations: 20 kB / 0.9485 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.8093, allocations: 71.86 kB / 0.9485 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.8095, allocations: 72.89 kB / 0.9486 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.8096, allocations: 39.97 kB / 0.9486 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006818/0.8103, allocations: 483 kB / 0.9491 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8103, allocations: 4 kB / 0.9491 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000932/0.8112, allocations: 327.1 kB / 0.9494 GB, free: 7.832 MB / 0.7169 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.00198/0.8132, allocations: 0.6078 MB / 0.95 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.8152, allocations: 0.8625 MB / 0.9509 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8152, allocations: 4 kB / 0.9509 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.8163, allocations: 0.5119 MB / 0.9514 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.8176, allocations: 300.5 kB / 0.9516 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.822, allocations: 1.847 MB / 0.9535 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/0.8227, allocations: 1.047 MB / 0.9545 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009017/0.8236, allocations: 271 kB / 0.9547 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.824, allocations: 111.4 kB / 0.9548 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of SimCode: time 1.473e-06/0.824, allocations: 0 / 0.9548 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of Templates: time 0.4806/1.305, allocations: 15.76 MB / 0.9702 GB, free: 36.5 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)